title: Youtube video play button does not work in video iframe in Android webview
body: <p>I am building an article reading android application like TechCrunch.</p>
  
  <p>In the application, the data is parsed by json volley library corresponding like id, article, images and content.</p>
  
  <p>I am loading the content in (html string) in web-view which contains text,images and videos.
  The images, Text and video iframe are displaying properly in web-view.</p>
  
  <p>The video iframe loads youtube video that has a default play icon which is not working properly.</p>
  
  <p>The problem is that when I click on that default play icon of youtube the video does not play, but when I click rest on rest of the area of iframe, the video starts playing properly!</p>
  
  <p>Help is appreciated. </p>
  
  <p>Here is my code - </p>
  
  <pre><code>String htmldata = "&lt;html&gt;&lt;head&gt;&lt;style = text/css&gt;      
          img{width:100%!important;height:auto!important;}iframe {width:320px;height:120px;}a {  
          color:#3366CC; text-decoration: none; }&lt;/style&gt;&lt;/head&gt;&lt;body style = line-height:25px;  
          &gt;"+c+"&lt;/body&gt;&lt;/html&gt;";            
  
          web1 = (WebView) findViewById(R.id.webView2);               
          web1.setWebViewClient(new myWebClient());
          web1.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
          web1.getSettings().setJavaScriptEnabled(true); 
          //web1.getSettings().setJavaScriptEnabled(true); 
          //web1.setInitialScale(65);
          web1.getSettings().setDefaultFontSize(18);           
          //web1.loadUrl(htmldata);
          web1.setWebChromeClient(new WebChromeClient());
          web1.getSettings().setPluginState(PluginState.ON_DEMAND);
          web1.loadData(htmldata,"text/html; charset=utf-8",null);
  </code></pre>