title: Embedding youtube video in webpage for both desktop and iphone/ipad
body: <p>I'm surprised I just put object to embed youtube in a wordpress blog and surprise it did play also on ipad.</p>
  
  <pre><code>&lt;object width="425" height="344" type="application/x-shockwave-flash" data="http://www.youtube.com/watch?v=hoA1MBRJ_BA&amp;amp;hl=de&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;param name="movie"  value="http://www.youtube.com/watch?v=hoA1MBRJ_BA&amp;amp;hl=de&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;/object&gt;
  </code></pre>
  
  <p>Why does it work ? I thought I would need to serve some special code for Ipad ?</p>
  
  <p>I have used real ipad and then Safari with user-agent ipad to get the source code above: how can application/x-shockwave-flash be interpreted as html 5 video ?</p>