title: youtube videos on iphone phonegap app
body: <p>I'm sorry to come back to this topic again, but i'm really frustrated!! I've read every  resource i've found, googling around the web, but i couldn't come up with a definitive answer to my problem.</p>
  
  <p><strong>Problem description</strong><br>
  I'm creating an iphone app with phonegap 1.0. In this app, one tab is dedicated to a rss feed from my youtube channel and i want my users to be able to play these videos, after clicking on a specific entry. 
  Question: is it possible? best solution would be to play the video inside the app, but displaying a thumbnail image and redirecting the user to native youtube app is also acceptable (even though in this case i want the control back to the original app when youtube finishes to play the video).</p>
  
  <p><strong>Tried solutions</strong><br>
  Searching on the web I found several solutions and people say that these solutions work for them, but none of them work for me!</p>
  
  <ul>
  <li><p>use an "object" tag, i end up with a white screen</p>
  
  <pre><code>&lt;object id="video" width="296" height="100%" data="http://www.youtube.com/v/gDjb9RVMF4c" type="application/x-shockwave-flash"&gt;
      &lt;param name="allowfullscreen" value="true" /&gt;
      &lt;param name="src" value="http://www.youtube.com/v/gDjb9RVMF4c" /&gt;
  &lt;/object&gt;
  </code></pre></li>
  <li><p>using an "embed" tag, i end up with a white screen</p>
  
  <pre><code>&lt;embed src="http://www.youtube.com/v/gDjb9RVMF4c" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="280" height="100%"&gt;&lt;/embed&gt;
  </code></pre></li>
  <li><p>i also tried a "video" tag, but as far as i understood, this is still not possible.</p></li>
  </ul>
  
  <p>I'm really sorry if i missed a solution already written somewhere, but trust me ... i did my homework before askying :-)
  Thx!!</p>