YouTube Embed Code on iPad

I am working on improving the experience of the site by adding support for the iPad. This includes video support. Our client is moving towards the YouTube model for storing and watching videos - great for us! Initially, I planned to introduce the use of new HTML5-enabled HTML5 snippets <iframe>. This offloads device discovery on YouTube and makes embedding videos in cinch since we don’t have to worry about compatibility. It turns out that we use CMS, Sitecore CMS , cuts <iframe>out WYSIWYG from our editor. After many studies, it seems like it's a little tricky to prevent this from happening.

Fast Forward ... I tested the old style <embed>and found that although iOS does not support Flash, these inserts seem to work fine on the iPad. Some research has led me to this post , which offers it because of the YouTube plugin /System/Library/Internet Plug-Ins/YouTubePlugIn.webpluginon the iPad, which allows playback.

My question is, is there any documentation, what is the exact reason? I would like to do this because we can use regular <embed>code, but I need to backup using an iOS document. Is this YT plugin on every iPad by default, or do users need to manually install it? This seems like a great solution, given our unsuccessful incompatibility with <iframe>, but I need to support use <embed>with hard facts. Thanks in advance.

+3
source share
1 answer

The answer you are looking for can be found in the Apple URL help system. This is basically a mechanism that the iDevices game comes in to detect and process specific types of URLs - for example, Google Maps, iTunes, and YouTube.

Here are some links.

http://developer.apple.com/library/safari/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007899

http://developer.apple.com/library/safari/#featuredarticles/iPhoneURLScheme_Reference/Articles/YouTubeLinks.html#//apple_ref/doc/uid/TP40007895-SW1

And for a good grade, you can also take a look at the Safari developers library for recommendations on best practices for embedding HTML5 and audio :-)

+2

All Articles