youtube video in Android native player

Go To StackoverFlow.com

0

I am developing a webpage for android. I have youtube and vimeo video embeded in my page. When I click, it plays in youtube or vimeo player in the page but is there a way to play the video in android native player?

2012-04-03 21:21
by user1311448


0

You're developing on the web for android, but you want to launch in the native video player?

If you provide a link to the .mp4 file you may be able to get the video player prompt to pop up to the user, depending on their local file associations.

It's easier if you're writing a client-side app; you can play html5/mp4 media inside of an Android MediaPlayer by using a VideoView. Here's an example. For flash media, though, you're SOL unless you want to use a webview.

2012-04-03 21:28
by Jon O
Ads