 	
 	public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
 		super.viewWillTransition(to: size, with: coordinator)
-		
+		updateFullscreen()
+	}
+	
+	private func updateFullscreen(_ animated: Bool = true) {
 		guard !_fullscreenAnimating,
 			let player = _player else { return }
 		
 		guard !media.isAudio else {
+			guard let parentView = _parentView ?? parent?.view else { return }
 			var f = player.view.frame
-			f.size.width = size.width
+			f.size.width = parentView.bounds.width
 			player.view.frame = f
 			player.view.setNeedsDisplay()
 			return

			target.view.frame = parentView.bounds
			parentView.addSubview(target.view)
			parentView.setNeedsDisplay()
		}
	}
	

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