简体   繁体   English

如何在VideoView中播放此视频?

[英]How to play this video in VideoView?

I want to create an application to play/stream videos, I know how to play/stream videos when I have the link but can somebody tell me how can I play this video eg http://gorillavid.in/orophd79hi8o using VideoView or other method?? 我想创建一个播放/流式视频的应用程序,我知道有链接时如何播放/流式视频,但是有人可以告诉我如何使用VideoView或其他方法播放此视频,例如http://gorillavid.in/orophd79hi8o方法?? Thanks 谢谢

Why not use a WebView for the job? 为什么不使用WebView进行作业? They do it just fine. 他们做得很好。

Just remember to enable plugins: 只要记住启用插件即可:

webView.getSettings().setPluginState(WebSettings.PluginState.ON)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM