How can I get a YouTube video to play inline in an Ionic/Cordova/PhoneGap app on iPhone? I\'ve tried all the top results on here and Google to no avail. Whether I embed with an
I finally got this working.
First, insert the YouTube video like so:
Next, close down Xcode and edit config.xml (usually in the root of your project).
Add this line under the other preferences:
Save it, rebuild the project, open in Xcode and run again. Your YouTube video should now be playing inline. Tested on latest iOS (9.1) on iPhone 6.