title: Android ICS - Embedded youtube video not working in full screen mode
body: <p>I've created a simple demo application in which I'm trying to embed youtube videos. 
  Here is the <code>&lt;object&gt;</code> tag that I'm using</p>
  
  <pre><code>String urlTag = "&lt;object&gt;&lt;param name=\"movie\" value=\"http://www.youtube.com/v/opZ69P-0Jbc?version=3&amp;feature=player_detailpage\"&gt;" +
              "&lt;param name=\"allowFullScreen\" value=\"true\"&gt;&lt;param name=\"allowScriptAccess\" value=\"always\"&gt;" +
              "&lt;embed style=\"width:100%; height:100%\" src=\"http://www.youtube.com/v/opZ69P-0Jbc?version=3&amp;feature=player_detailpage\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowScriptAccess=\"always\" width=\"200\" height=\"300\"&gt;&lt;/object&gt;";
  </code></pre>
  
  <p>Video is embedded and it runs fine. But, when I click on the full screen button, the demo application crashes. I've referred to other links on SO but of no help. </p>
  
  <p>I've tried the above mentioned code on this <a href="http://jsfiddle.net/c9ch5/2/" rel="nofollow noreferrer">site</a>(replace the object tag). It works fine. I dont what is going wrong. Thanks.</p>
  
  <p><strong>UPDATE 1:</strong> On @DarkXphenomenon's recommendation, I found out that I was getting this error:</p>
  
  <pre><code>java.lang.NullPointerException
  android.webkit.PluginFullScreenHolder.show(PluginFullScreenHolder.java:85)
  </code></pre>
  
  <p>Got rid of the error by adding <code>webView.setWebChromeClient(new WebChromeClient());</code>. Reference <a href="https://stackoverflow.com/questions/8541443/whats-causing-this-nullpointerexception">link</a>. Now the demo does not crash, but still it does not play the video in full screen mode. The screen goes blank.</p>
  
  <p><strong>UPDATE 2:</strong> Also, many a times the entire embedded player vanishes. On checking the WebView sample ApiDemo, I found out that such a thing happens occurs in it also. Is the WebView buggy on Ice cream sandwich?</p>