开发者

Playing video file in Android

开发者 https://www.devze.com 2023-03-23 19:36 出处:网络
I want to play the video file and it\'s like http://test.XXXX.com/my开发者_运维百科file.wmv am using Video view for that but it saying unable to play video error

I want to play the video file and it's like

http://test.XXXX.com/my开发者_运维百科file.wmv

am using Video view for that but it saying unable to play video error

I tried using WebView also but it showing only blank page.

Just i want to play that video link file in device online.

How to do that ?

Note : The links are working i tested on Windows browser.

Thanks


You will have to transcode the video to an android supported format and make the result available on your server as well.

http://developer.android.com/guide/appendix/media-formats.html provides an official overview of supported forms, but you may have more practical look googling for instructions on transcoding for android devices.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号