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

Unable to play mp4/webm on Android devices.


Hello. Trying to find out a proper way to setup jwplayer so it can play mp4 on Android devices.
So far player shows me play button and I'm able to click on it, but after that player shows only spinner load icon all the way.
The same for the video in the link below
http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback/
What am I doing wrong?
jwplayer.version="6.8.4616"

The way I set up:
bc.. jwplayer("#video").setup({
flashplayer: "somepath/jwplayer.flash.swf",
sources: [
{file: "http://somedomain.com/file.mp4"},
{file: "http://somedomain.com/file.webm"}
],
image: "/some_image.jpg",
height: 383,
width: 678,
primary: "flash",
controls: true
});


Played with Android 4.0.4 with native browser.
Thanks.

10 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

Here you go
http://jsfiddle.net/Q8rtA/36/

Ethan Feldman

JW Player Support Agent  
0 rated :

How did you encode these files?

JW Player

User  
0 rated :

We did it via Zencoder encoder. We had raw mpg file and Zencoder produced mp4 and webm vers. Do you need to know some specific encoder settings?

JW Player

User  
0 rated :

HandBrake. Default settings plus check "Web optimized."

http://handbrake.fr/

JW Player

User  
0 rated :

as a freebee Handbrake is ok

Have a look at this link which IMHO is worthwhile purchasing for a relatively cheap price.

http://www.ogg-converter.net/

btw, I've used for several years in converting videos that I use on my web sites

JW Player

User  
0 rated :

If the free application does exactly what you need it to do, quickly and without any messing about, why would you need some other application, and a paid one, at that?

JW Player

User  
0 rated :

Maybe if you wanted to flip or rotate your video at encoding time! ;o)

JW Player

User  
0 rated :

There was some business-specific needs to use something like Zencoder/AWS Transcoder, but if thing is in encoding options, why video in this link also cannot be played?
http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback/

Ethan Feldman

JW Player Support Agent  
0 rated :

This link can be played for me on our Android devices?

This question has received the maximum number of answers.