Click here to Skip to main content
15,851,387 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to create a web browser in android using web view that plays a video but it won't work. Can anybody help please me play videos from unknown src.
Updated 21-Apr-13 3:40am
Sudhakar Shinde 21-Apr-13 3:02am    
What you have posted can be information but where is the problem?
Member 9718045 21-Apr-13 8:44am    
The problem is that I can not play any of this videos. I looked around online but the most of show only how you would play from one src, but in my web page I have more than one. Thank You for replying!:)

1 solution

You cannot show video embedded except perhaps on devices that have Flash. If you can parse out the YouTube video details, you may be able to construct an ACTION_VIEW Intent that will show them on the YouTube application(for those Android devices that have the YouTube application). Also experiment with HTML5's
tag, which is supported in the Browser application and may therefore work in WebView.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900