         
         
         ManifestLoader.instance.addCallback { (videos:[AerialVideo]) -> Void in
-            self.playNextVideo(player);
+            self.playNextVideo();
         };
     }
     


        debugLog("playing next video for player \(player)");
        
        // play another video
        playNextVideo(player);
    }
    
    // MARK: - Playing Videos
    
    func playNextVideo(player:AVPlayer) {
        let randomVideo = ManifestLoader.instance.randomVideo();
        
        guard let video = randomVideo else {

    
    func playerItemFailedtoPlayToEnd(aNotification: NSNotification) {
        NSLog("AVPlayerItemFailedToPlayToEndTimeNotification \(aNotification)");
        
        playNextVideo();
    }
    
    func playerItemNewErrorLogEntryNotification(aNotification: NSNotification) {
