title: how to play vimeo video using iframe in webview?
body: <pre><code>public class MainActivity extends Activity {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          WebView wv=(WebView)findViewById(R.id.webView1);
  
          wv.getSettings().setJavaScriptEnabled(true);
          wv.getSettings().setAppCacheEnabled(true);
          wv.getSettings().setDomStorageEnabled(true);
  
          // how plugin is enabled change in API 8
          if (Build.VERSION.SDK_INT &lt; 8) {
            wv.getSettings().setPluginsEnabled(true);
          } else {
            wv.getSettings().setPluginState(PluginState.ON);
          }
          String venkat="&lt;iframe src=\"http://player.vimeo.com/video/27244727?portrait=0&amp;color=333\" width=\"WIDTH\" height=\"HEIGHT\" frameborder=\"0\" webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;";
          wv.loadData(venkat,"text/html","UTF-8");
      }
  }
  </code></pre>
  
  <p>After researching from google I have written the above code but is not working. In this no errors are occurred but when I click on the play button progress bar is displaying for sometime and then it disappears and displays play button again... Could anyone please suggest me how to solve this problem?</p>