Making iframes work in Ionic iOS apps

less than 1 minute read

Everything was fine and dandy on Androids but when I started testing on iPhones, my Youtube embed using iframes wasn’t showing anything- there weren’t any errors either.

Here’s what I had missed adding to config.xml:

<platform name="ios">
<allow-navigation href="*" />
</platform>

It’s of course better to add something like

<allow-navigation href="http://domain.com/*">

Leave a Comment