Does the youTube iFrame embed code work on mobile devices? (iPhone, Android) -


I've created a sample page from ITube using the HTML5 IFrame embed code. While browsing on my iPhone, I get a play button, but even if I click on it then the video never plays. When I embed the video with the HTML5 video tag, everything is fine.

Does anyone know if YouTube officially supports mobile devices with embed code? Do I Need Extra Parameters? I tried the following code:

  & lt; Iframe width = "420" height = "345" src = "http://www.youtube.com/embed/OZOX5sad2FE" frameborder = "0" acceptable screen & gt; & Lt; / Iframe & gt;    

Mobile Safari supports IFrame on IFrame. Here's an example:

Have you tried to include class and type? Class = "youtube-player" type = "text / html"

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -