Click here to Skip to main content
11,644,286 members (66,164 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: XML Java Android
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
Edited 21-Apr-13 2:40am
Sudhakar Shinde at 21-Apr-13 3:02am
What you have posted can be information but where is the problem?
Member 9718045 at 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
0 OriginalGriff 650
1 494
2 Afzaal Ahmad Zeeshan 423
3 Sergey Alexandrovich Kryukov 409
4 CPallini 352
0 OriginalGriff 925
1 DamithSL 636
2 Afzaal Ahmad Zeeshan 622
3 Sergey Alexandrovich Kryukov 548
4 CPallini 521

Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 13 May 2013
Copyright © CodeProject, 1999-2015
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