Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to play network video? #42

Open
cuixiaodong opened this issue Nov 10, 2017 · 1 comment
Open

How to play network video? #42

cuixiaodong opened this issue Nov 10, 2017 · 1 comment

Comments

@cuixiaodong
Copy link

Now join the network video direct black screen。。。

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Jul 5, 2018

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"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants