Software Archive
Read-only legacy content
17061 Discussions

Video INLINE in APP IPAD IOS 10

Paolo_p_3
Beginner
264 Views

Hello,
I made an APP with XDK CORDOVA that displays a HTML5 page containing a video.
On IOS9 working correctly but on IPAD IOS10 the video opens in full screen.
If I open the same page in SAFARI BROWSER on IPAD the video you see properly inline and not in full screen.
I do watch the video in line also in the app.
I tried adding the PLUGIN INAPPBROWSER but nothing changes.

Has anyone had the same problem?
Thanks

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
264 Views

Just adding the inAppBrowser does nothing. You need to use the inAppBrowser API to get what you want. See the inAppBrowser documentation here > https://github.com/apache/cordova-plugin-inappbrowser#cordovainappbrowseropen < pay particular attention to the iOS options.

Note that an iOS 9 webview is different than an iOS 10 webview (similar to an old version of Safari and a new version), which is the reason you're seeing differences in behavior. The webview in which your app runs is controlled by Apple, the XDK has no control over that. Using inAppBrowser to open external web pages will give you more control over how the page is opened, including making the page open in the mobile browser on your device (using the _system option), rather than in the webview (which is where you're having troubles).

0 Kudos
Reply