WebView and HTML5 <video>

后端 未结 13 1688
面向向阳花
面向向阳花 2020-11-22 05:59

I\'m piecing together a cheapo app that amongst other things \"frames\" some of our websites... Pretty simple with the WebViewClient. until I hit the video.

13条回答
  •  逝去的感伤
    2020-11-22 06:25

    I had a similar problem. I had HTML files and videos in the assets-folder of my app.

    Therefore the videos were located inside of the APK. Because the APK is really a ZIP-file, the WebView was not able to read the video-files.

    Copying all HTML- and video-files onto the SD-Card worked for me.

提交回复
热议问题