             return
         }
         
-        fullscreen = false
         closeOptionsMenu()
         
         showCastPlayer(enable: true)

			detachVC(player)
			
			DispatchQueue.main.async {
				self.present(player, animated: animated, completion: callback)
			}
		}

	private func updateFullscreen(_ size: CGSize? = nil, _ animated: Bool = true, _ forcePortrait: Bool = false) {
		guard _errorScreen == nil, !_fullscreenAnimating,
			let player = _player else { return }
        
        guard !SambaCast.sharedInstance.isCastDialogShowing else { return }
		
        if isChromecastEnable && SambaCast.sharedInstance.isCasting() {
            guard let parentView = _parentView ?? parent?.view,
