VR video is opening in iOS 10 native video player

  • Dear Klaus,

    I'm having an ios/android 360 video solution running on a hybrid app's inAppBrowser. Till iOS 10 everything was fine, but as you know on iOS 10 the app was crashing.
    I installed the pr7 release which runs on iOS9 and Android, but on iOS 10 the video is also opened by the native 2d video player, though I can notice that is still running in the webview too.
    I made some digging and I came to the conclusion the the issue is coming from the new videoplayer.js file from pr7, since if I'm replacing it with pr6 it is working, except that has a huge lagging on iOS 10.

    Could you suggest something which I could try out to block the native video player?

    EDIT: I also tried the demo page from your website to open in inAppBrowser (just to eliminate eventual implementation issues), with the latest videoplayer.js it's opening in the default phone player, with pr6 version is fine.

    Thanks you!

    2 Mal editiert, zuletzt von stephnx (15. September 2016 um 13:08)

  • Dear Klaus,
    Thank you very much for the help you are providing!
    I also taking the chance to thank you for the hard work you investing into krpano to make it as suitable as possible for us!

    For others who might read this post, based on the solution provided by Klaus, I changed manually inside Cordova InappBrowser iOS source CDVInAppBrowser.m file the line into: self.allowinlinemediaplayback = YES; (since the <preference name="AllowInlineMediaPlayback" value="true" /> in config.xml is completely ignored) everything works as intended!

    Thank you again!

    Best Regards,
    Stefan.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!