title: Play DailyMotion Video in webView Android
body: <p>I tried to embed a dailyMotion video in a webview, I got the preview but when I try to play it, it doesn't work.</p>
  
  <p>I've been looking for a solution in the net, I didn't find any working example.</p>
  
  <p>this the code</p>
  
  <pre><code>String data_html = "&lt;!DOCTYPE HTML&gt; &lt;html&gt;"
              + "&lt;head&gt;"
              + "&lt;style&gt;"
              + "body"
              + "{"
              + "margin:0;"
              + "padding:0;"
              + "height: 100%;"
              + "width: 100%;"
              + "background-color: #000;"
              + "color: #fff;"
              + "font-family: sans-serif;"
              + "overflow: hidden;"
              + "-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" /* Disable ugly Android highlight */
              + "}"
              + "&lt;/style&gt;"
              + "&lt;/head&gt;"
              + "&lt;body&gt;"
              + "&lt;iframe src=\"http://www.dailymotion.com/embed/video/xu4vre\" width=\"300\" height=\"160\" frameborder=\"0\"&gt;&lt;/iframe&gt;"
              + "&lt;/body&gt;" + "&lt;/html&gt;";
  
      webView.loadData(data_html, "text/html", null); 
  </code></pre>