android - Playing m.youtube content in webview -


ok, have java , plugins enabled. can explain why can play many online flash videos in webview, nothing on m.youtube.com works?

i more satisfied workaround passes video youtube app.

intent = new intent(intent.action_view); i.setdata(uri.parse("vnd.youtube:video_id")); startactivity(i); 

also, check out: http://it-ride.blogspot.com/2010/04/android-youtube-intent.html

edit: can amongst lines of:

intent = new intent(intent.action_view); i.setdata(uri.parse("http://www.youtube.com/watch?v=video_id")); startactivity(i); 

which (i think) give user choice of whether open in browser or youtube app. useful new devices have flash , may not have youtube app.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -