0

I have a WebView app that includes embedded YouTube videos on a page. But when I go to that page, it gives me an error with a whole bunch of text. I have searched the internet for the past week but with no luck. Can somebody please help me? P.S. I am new to Android, so snippets would REALLY help :)

Here's the error:

vp.events.addOnDOMLoadHandler(function()
{vp.website.createVideoPlayer('mediaPlayer_cff30e24_42e1_4eb6
'http://youtube.com/v/XXXX', 569, 485, false);});
You need Flash Player in order to view this.
SMOKE
  • 55
  • 1
  • 9

2 Answers2

0

Check if the Adobe Flash Player on your phone is indeed working properly.

t0mm13b
  • 34,087
  • 8
  • 78
  • 110
0

well from CommonsWare

You cannot show them embedded except perhaps on devices that have Flash.

here is the link: https://stackoverflow.com/a/2292459/1084764

however you can override the urlLoading on your webviewclient

I suggest you reading the whole post : play youtube video in WebView

Community
  • 1
  • 1
Raykud
  • 2,488
  • 3
  • 21
  • 41