googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

Video pausing issue #76

Closed LyndseyScott closed 7 years ago

LyndseyScott commented 8 years ago

When you run code to pause a video either (1) Immediately after the video has loaded or (2) immediately after switching between display modes, it doesn’t always pause.

nathanmartz commented 8 years ago

Thanks for posting this. We've got it in our tracker.

mstana commented 8 years ago

hello,

is there any progress with this issue? Its kind of frustrating bug for me too.

thanks for answer.

nathanmartz commented 8 years ago

It looks like the issue was specific to playing videos when the phone was already in landscape mode. We have a fix for that issue and it'll be available in our next release.

sanjayc77 commented 8 years ago

This is a bug and with be fixed in the next release (post 1.0.1). You can try to call the pause method immediately after the video has loaded in a dispatch_async:

dispatch_async(dispatch_get_main_queue(), ^{ [_videoView pause]; });

sanjayc77 commented 7 years ago

Please try the 1.10.1 update.