title: WebView and HTML5 <video>
body: <p>I'm piecing together a cheapo app that amongst other things "frames" some of our websites...  Pretty simple with the <code>WebViewClient</code>. until I hit the video.</p>
  
  <p>The video is done as <code>HTML5</code>  elements, and these work fine and dandy on Chrome, iPhones, and now that we fixed the encoding issues it works great on <code>Android</code> in the native browser.</p>
  
  <p>Now the rub: <code>WebView</code> doesn't like it.  At all.  I can click on the poster image, and nothing happens.</p>
  
  <p>Googling, I found <a href="http://www.codelark.com/2010/05/12/android-viewing-video-from-embedded-webview/" rel="noreferrer">this</a> which is close, but seems to be based on a 'link' (as in a href...) instead of a video element.  (onDownloadListener does not appear to get invoked on video elements...)</p>
  
  <p>I also see references to overriding onShowCustomView, but that seems to not get called on video elements... nor does shouldOverrideUrlLoading.. </p>
  
  <p>I would rather not get into "pull xml from the server, reformat it in the app".. by keeping the story layout on the server, I can control the content a bit better without forcing people to keep updating an app.  So if I can convince WebView to handle  tags like the native browser, that would be best.</p>
  
  <p>I'm clearly missing something obvious.. but I have no clue what.</p>