 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?

	}
	
	@objc private func fullscreenTouchHandler() {
		UIDevice.current.setValue(_isFullscreen ? UIInterfaceOrientation.portrait.rawValue :
			UIInterfaceOrientation.landscapeLeft.rawValue, forKey: "orientation")
	}
	
	@objc private func hdTouchHandler() {

				callback()
			}
		}
	}
	
	public override func viewDidAppear(_ animated: Bool) {
		guard let parent = parent else {
			fatalError("No parent VC found (null) when adding player to hierarchy (viewDidAppear)")
		}
		
		_parent = parent
		_parentView = _parentView ?? parent.view
	}
	
	public override func viewWillDisappear(_ animated: Bool) {
