diff --git a/MobilePlayer/MobilePlayerViewController.swift b/MobilePlayer/MobilePlayerViewController.swift index d9c2bf7..b0f9545 100644 --- a/MobilePlayer/MobilePlayerViewController.swift +++ b/MobilePlayer/MobilePlayerViewController.swift @@ -585,6 +585,9 @@ extension MobilePlayerViewController: MobilePlayerOverlayViewControllerDelegate overlayViewController.willMoveToParentViewController(nil) overlayViewController.view.removeFromSuperview() overlayViewController.removeFromParentViewController() + if overlayViewController == prerollViewController { + play() + } } }