         
         // pause background
         backgroundPlayer.pause()
+        
+        // close Player
+        dismiss(animated: true, completion: nil)
     }
     
     public func timedOut() {

        
        // configure player item
        let playerItem = AVPlayerItem(url: backgroundUrl)
        self.backgroundPlayer.replaceCurrentItem(with: playerItem)
        self.backgroundPlayer.isMuted = true
        self.backgroundPlayer.play()
        
        // configures autoplay loop
        NotificationCenter.default.addObserver(forName: .AVPlayerItemDidPlayToEndTime, object: playerItem, queue: .main) { _ in

            return
        }
        
        mediaView.startLoadingAnimation()
        
        controlView.lock(true, animated: true)
        
        // cancels auto hide
        controlView.show()
        
        // pauses background
        backgroundPlayer.pause()
    }
    
    public func stoppedBuffering() {
        mediaView.stopLoadingAnimation()
        
        controlView.lock(false, animated: true)
        
