Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android device browser native video player


Greetings, I am trying to figure out how to control the way self hosted videos that are embedded on one's site are played back on Android powered phones. Specifically, if I visit your sample player site at www.longtailvideo.com/players/jw-flv-player, I can playback the video embedded in the browser.

However, what I have seen at other sites (like Vimeo) and would prefer to offer visitors at our site is to have the video launch the fullscreen video player that appears to be a function of the Android browser.

Anyone have any suggestions or words of wisdom regarding tutorials or relevant instructional material?

11 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi Aaron,

If you use our player in Flash mode, it will display inside of the browser. If you use the HTML5 mode, it will launch in the fullscreen Android player.

Demo – http://developer.longtailvideo.com/player/trunk/fl5/js/test/examples/mp4_ogv.html

Best,
-Ethan

JW Player

User  
0 rated :

You're exactly right (of course) Thanks for the link - it functions exactly as you say on the phone. Now, is this playing back a .flv or .mp4? Also, I'm using your Wordpress plug - do you have a tutorial or write up on the exact embed codes to make this work with the plug in?

Ethan Feldman

JW Player Support Agent  
1 rated :

This is playing back an MP4. FLV files do not work in HTML5 mode. Using the WP plugin it is not possible to specify to show HTML5 mode first, though. It will default to Flash.

JW Player

User  
0 rated :

Ethan- How can i change my android browser mode to Flash Mode ?
I dont have any idea.

Thank you in advance

Erhan

Ethan Feldman

JW Player Support Agent  
0 rated :

You need to install Flash from the Android Market to do that.

JW Player

User  
0 rated :

Hi Ethan!

_"If you use our player in Flash mode, it will display inside of the browser. If you use the HTML5 mode, it will launch in the fullscreen Android player."_

you said. It works very well on Samsung Galaxy S or its lower version and some Android devices. But i tried on Samsung Galaxy Tab 10.1, Galaxy S2 and Galaxy S3. The result is just not my wish. It didnt play in the fullscreen Android player, just played inside of the browser.

In any case, i tried your url "Demo - ../examples/mp4_ogv.html" but the result is same. It played inside of the browser not fullscreen Android player.

Is there any hack of it? Or how can i trigger of Android player to fullscreen with javascript code? Actually, is it possible?

10x.

Ethan Feldman

JW Player Support Agent  
0 rated :

Are you playing in Flash mode or html5 mode?

JW Player

User  
0 rated :

Of course, in two modes. That is the code;

jwplayer('mediaplayer').setup({
file : "video.mp4"
,image: "/image/background.png"
,modes: [
{ type: 'html5',
config: {skin: "../skin/skin.xml"}
},
{ type: 'flash',
src: '../js/player.swf',
config: {skin: "../js/skin.zip"}
}
]
,height : 500
,width: "100%"
});

Ethan Feldman

JW Player Support Agent  
0 rated :

Does the Android you are using have Flash installed?

JW Player

User  
0 rated :

Though i have flash player installed on my Android 2.3 phone, by default the video is getting played in fullscreen Android media player. Is there any way to set flash mode programatically.

Thanks in advance

Ethan Feldman

JW Player Support Agent  
0 rated :

There is not. It showing in the native player is the expected behavior on small devices.

This question has received the maximum number of answers.