 		}
 	}
 	
+	/// Whether player shoud be fullscreen or not
+	public var fullscreen: Bool = false {
+		didSet {
+			UIDevice.current.setValue(fullscreen ? UIInterfaceOrientation.landscapeLeft.rawValue :
+				UIInterfaceOrientation.portrait.rawValue, forKey: "orientation")
+		}
+	}
+	
 	// MARK: Public Methods
 	/**
 	Default initializer

		
		let errorScreen = ErrorScreen(error)
		errorScreen.delegate = self
		showScreen(errorScreen, &_errorScreen) 
	}
	
	private func showScreen(_ screen: UIViewController, _ ref: inout UIViewController?, _ parent: UIViewController? = nil) {

public class SambaPlayer : UIViewController, ErrorScreenDelegate {
	
	private var _player: GMFPlayerViewController?
	private var _parent: UIViewController!
	private var _parentView: UIView?
	private var _currentMenu: UIViewController?
	private var _errorScreen: UIViewController?
