Click here to Skip to main content
13,043,898 members (47,834 online)
Rate this:
Please Sign up or sign in to vote.
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.
Posted 20-Apr-13 9:07am
Updated 21-Apr-13 2: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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 13 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100