Hello,
I have an issue in UIWebView in IOS when I enter VR mode.
The white screen video is playing and restarting again and again.
I have checked krpano example, the same issue.
What could be the reason?
Thanks
Mudin
Hello,
I have an issue in UIWebView in IOS when I enter VR mode.
The white screen video is playing and restarting again and again.
I have checked krpano example, the same issue.
What could be the reason?
Thanks
Mudin
Having the same issue. Any updates/found solutions on this?
Hi,
that's the 'ios wakelock' hack - it play a 'hidden' video in the background to avoid that Safari would let the device go into sleep mode.
There are two solutions for custom apps (both should be applied):
Enable the 'allowsInlineMediaPlayback' setting in your app:
https://developer.apple.com/documentation/…nemediaplayback
This would avoid that the browser would open the build-in fullscreen videoplayer when playing the 'wakelock' video.
And better also disable the 'wakelock' hack of the krpano WebVR plugin:
https://krpano.com/plugins/webvr/#mobilevr_wakelock
and disable the device-sleep-mode directly in your app.
Best regards,
Klaus
Thank you Klaus, it worked!
Hi,
I´m new on this.
In what code exactly do I found the "allowMediaPlayBack". Os where do i add it.
Thanks.
Display MoreHi,
that's the 'ios wakelock' hack - it play a 'hidden' video in the background to avoid that Safari would let the device go into sleep mode.
There are two solutions for custom apps (both should be applied):
Enable the 'allowsInlineMediaPlayback' setting in your app:
https://developer.apple.com/documentation/…nemediaplayback
This would avoid that the browser would open the build-in fullscreen videoplayer when playing the 'wakelock' video.And better also disable the 'wakelock' hack of the krpano WebVR plugin:
https://krpano.com/plugins/webvr/#mobilevr_wakelock
and disable the device-sleep-mode directly in your app.Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!