title: Swift AVPlayer - Prevent 2 videos/audio from playing at once
body: <p>I am using AVPlayer to play videos in a SCNNode. I want to prevent more than one video/audio from playing at a time. So if a video is playing and then another video starts, it will pause the previous video. Only allowing one video to ever be played at a time. The problem I'm having is if 2 nodes are in view it is overlapping the audio of 2 videos. Please help!</p>
  
  <p>I've tried pausing the video when the node is out of view but I am running into problems if 2 nodes are in view at the same time.</p>