Skip to content

Commit

Permalink
Merge pull request sahin#102 from mobileplayer/feature/play-on-pause-…
Browse files Browse the repository at this point in the history
…dismiss

[MobilePlayerViewController] Play when pause overlay is dismissed
  • Loading branch information
isair committed Dec 10, 2015
2 parents 0fd5abf + 38c757e commit 08628fd
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 08628fd

Please sign in to comment.