- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I believe this is an IOS issue, but I'm looking for a fix using XDK since my app is built with it. My app displays a YouTube video using the Youtube iFrame API. If a link is clicked in the video ie YouTube Logo, or Share URL then the Youtube page is loaded into the current webview and I cannot return to my app. I need to overide the behaviour such that the link launches in an external browser, that way I believe IOS adds a 'Return to {app}' link at the top of the new browser window so the user can get back to my app.
I found a related link which seems to have a solution using hooks:
Is this the right way to go, or do you know of a better solution?
Thanks in advance!
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend consider using the Cordova Inappbrowser plugin (https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/). You will be able to open a window to YouTube and navigate within it as well as close it at any time.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page