Android-ScalableVideoView icon indicating copy to clipboard operation
Android-ScalableVideoView copied to clipboard

How to play network video?

Open cuixiaodong opened this issue 8 years ago • 2 comments

Now join the network video direct black screen。。。

cuixiaodong avatar Nov 10 '17 03:11 cuixiaodong

You just use something like that:

videoView.setDataSource("https://www.sample-videos.com/video/mkv/720/big_buck_bunny_720p_1mb.mkv")

And you have to have Internet permission in the manifest, of course:

<uses-permission android:name="android.permission.INTERNET"/>

AndroidDeveloperLB avatar Jul 05 '18 13:07 AndroidDeveloperLB