- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I use an iframe in a page (intel xdk 3088, cli 5.4.1)
With android there is no problem.
With IOS, since 9.3.1, the iframe don't display anything.
Before ios 9.3.1, it works fine (ios 8 etc...)
It's ok in the emulator.
I don't found anything about this bug... and Apple reject the app because of this problem.
I have tried with http, https, // but nothing works.
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thibaut -- this sounds like a whitelist issue. See the whitelist settings in the Build Settings section and follow the (i) links for more details.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the URL you are trying to bind into the iframe? Is it local to your app or remote?
What is the HTML of your iframe? Have you enabled any of the sandbox features?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The URL is remote :
For example :
<iframe src="https://www.youtube.com/..."></iframe>
what is it "sandbox features" ?
before ios 9.3.1, i have no problem with the iframe (youtube or other remote url)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thibaut -- this sounds like a whitelist issue. See the whitelist settings in the Build Settings section and follow the (i) links for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Paul !
It comes from the whitelist indeed!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
emulator works but of apps installed does not work !!
how you solved iframe with the youtube video on whitelist you added what?
iframe: * ??
thank you
you can explain to me thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Giuseppe -- iframes are difficult to work with in this environment, I recommend you use the InAppBrowser plugin, instead. If you are using an iframe, you'll need to whitelist the addresses the iframe accesses, not the iframe itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the white list, you must have :
http://*/*
and/or
https://*/*
And after that, you have those lines in intelxdk.config.ios.xml :
<allow-navigation href="http://*/*"/>
<allow-navigation href="https://*/*"/>
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page