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

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

				self._isFullscreen = false
				
				player.getControlsView().setMinimizeButtonImage(GMFResources.playerBarMinimizeButtonImage())
                player.addActionButton(with: nil, name: "CAST_BUTTON", target: nil, selector: nil)
				self.attachVC(player)
				callback()
			}
