6

Possible Duplicate:
WebView and HTML5 <video>

Hi Can anybody tell me Do android webview supports html5 video play?? if yes can you please tell me how ?

Community
  • 1
  • 1
user620903
  • 81
  • 1
  • 1
  • 5

1 Answers1

7

Yes. It does, but you have to write more code, not just using WebView, see the following links for more information:

And a working example for Android 2.2 - http://www.tandroid.org/html5webview

Community
  • 1
  • 1
Mario Carrion
  • 671
  • 5
  • 11
  • 1
    Yes, and I found you don't need to add any extra code, at least under 4.x. What I did find was if you use a "supports-screens" entry in your AndroidManifest.xml, that you set the anyDensity=true. Otherwise it will play audio track but show no video. – Derek Wade Jul 13 '14 at 22:49