-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to resume video when the view is visible #31
Comments
there should be a switch to set if it shoud resume after the view appears again, it happens because you lose control of the view controller |
Resume video when view is visible (closes #31) Remove warnings in Xcode 7.3
hey @AntonReality, at one point in time i added these properties to control this behavior, if something is not as expected, let me know. https://github.com/piemonte/Player/blob/master/Sources/Player.swift#L159-L163 |
@piemonte Thanks for a quick reply! |
I found some code here https://github.com/piemonte/Player/blob/master/Source/Player.swift#L239-L245 to pause the video in
viewDidDisappear
. Is there any way to resume the video when the view is visible again?The text was updated successfully, but these errors were encountered: