Skip to content

Commit

Permalink
[MobilePlayerViewController] Play when pause overlay is dismissed
Browse files Browse the repository at this point in the history
Closes sahin#98
  • Loading branch information
isair committed Dec 10, 2015
1 parent 0fd5abf commit 38c757e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MobilePlayer/MobilePlayerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,9 @@ extension MobilePlayerViewController: MobilePlayerOverlayViewControllerDelegate
overlayViewController.willMoveToParentViewController(nil)
overlayViewController.view.removeFromSuperview()
overlayViewController.removeFromParentViewController()
if overlayViewController == prerollViewController {
play()
}
}
}

Expand Down

0 comments on commit 38c757e

Please sign in to comment.