Our html app occasionally embeds YouTube videos in the UI. We use a simple iframe to embed them.
When we put the app on our phones (iOS / iOS Simulator) the video opens in mobile Safari.
What's the right way to get the embedded YouTube videos to play within the app, and not launch Safari?
Since YouTube redirects you to its https:// protocol site, you need to whitelist https://youtube.com
-- just whitelisting http://youtube.com
is not enough.