                 }
             }
         }
-        
+        else {
+            AerialView.previewView = self;
+        }
+        
+        if AerialView.sharingPlayers {
+            AerialView.sharedViews.append(self);
+        }
         
         if localPlayer == nil {
             if AerialView.sharingPlayers {

    // MARK: - Playing Videos
    
    func playNextVideo() {
        
        let player = AVPlayer()
        // play another video
        let oldPlayer = self.player
        self.player = player
        self.playerView.player = self.player
        
        if (oldPlayer == AerialView.previewPlayer) {
            AerialView.previewPlayer = self.player
        }
        
        
        let randomVideo = ManifestLoader.instance.randomVideo();
        

        layer.delegate = self;
        layer.needsDisplayOnBoundsChange = true;
        layer.frame = self.bounds
//        layer.backgroundColor = NSColor.greenColor().CGColor
        
        debugLog("setting up player layer with frame: \(self.bounds) / \(self.frame)");
        
        playerLayer = AVPlayerLayer(player: player);
        if #available(OSX 10.10, *) {
            playerLayer.videoGravity = AVLayerVideoGravityResizeAspectFill
        };
        playerLayer.autoresizingMask = [CAAutoresizingMask.LayerWidthSizable, CAAutoresizingMask.LayerHeightSizable]
        playerLayer.frame = layer.bounds;
        layer.addSublayer(playerLayer);
    }
    
    func setup() {
        
        var localPlayer:AVPlayer?
