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

JW Player ver 5.9 not playing on Android phone


Website video will not play on an Android mobile phone. Video plays fine on the Apple iPhone , iPad and all desktop/laptop browsers. The JW Player version is 5.9.2118. The phone is a Samsung Galaxy S Blaze running the Gingerbread OS. Site is jameszotabaker.com and is currently accessed by UN: james and PW: tones97! . Host is Hostgator.

The video file extension is mp4, resolution 640 x 480 codec h.264/mpeg-4 AVC. Video resolution spec on the Android Blaze is 480 x 800. Flash is enabled on the Android.
The video pn the JWPlayer website: http://www.longtailvideo.com/players/jw-flv-player/
plays on the Android mobile phone fine (maybe that helps debug).

The HTML code is:
head:
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
body:
<div id="mediaplayer"></div>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
flashplayer: "jwplayer/player.swf",
file: "jwplayer/JZBMontage.mp4",
height: 240,
width: 320,
image: "jwplayer/JZB Solo MT 2c.jpg"
});
</script>

21 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

http://www.jameszotabaker.com/

currently secured but accessed by UN: james and PW: tones97!

Ethan Feldman

JW Player Support Agent  
0 rated :

Which device are you using and which version of the OS are you running? Also, is Flash installed?

JW Player

User  
0 rated :

As stated in the prior text:

Device: Samsung Galaxy S Blaze

OS: Android Gingerbread OS version 2.3.6

Flash is installed

Please note that device plays video at http://www.longtailvideo.com/players/jw-flv-player/

RNC

Ethan Feldman

JW Player Support Agent  
0 rated :

That page uses 5.10, can you update to 5.10 as well?

Also, note, we are targeting HTML5 specifically going forward, you should try to disable Flash on your phone and see if that makes a difference. Also, 2.3 is now an older version of this OS.

JW Player

User  
0 rated :

OK...will update to 5.10, disable flash and report back. Yes, 2.3 is older but not much I can do on that.

Thks

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

Updated to v5.10, still can't play on Android. However, the problem may be that the video is not meeting the Android SD spec requirements for resolution (480 x 360), video bit rate( spec 500kbps vs video 2367kbps), and audio bit rate ( spec 128kbps vs video 256kbps). Now reformating the video to meet the spec. Regarding the video resolution the Android spec is 480 x 360 px, the video native resolution is 640 x 480, but coded for 320 x 240 px. So does the spec apply to the native format size or the coded served size? Given that the video is served at 320 x 240 then the bit rate would be 25% of the 2367 = 591kbps, still in excess of the 500kbps requirement. Is this a correct interpretation and is the 591kbps enough to create problems?

Thks for your help.

Ethan Feldman

JW Player Support Agent  
0 rated :

It might be. Devices can be picky.

Does this file have the issue? – http://www.longtailvideo.com/jw/upload/bunny.mp4

JW Player

User  
0 rated :

The bunny.mp4 file plays correctly on Android.

Ethan Feldman

JW Player Support Agent  
0 rated :

Did you link to it on our server or download it and try it from yours?

JW Player

User  
0 rated :

We linked to your server...I'll download it and try it on ours next.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, please try it on your server and let me know if it works.

JW Player

User  
0 rated :

I am having a similar issue. Mp4 encoded videos seem to play on most devices except my android phone (android 2.2.1) Here is a link.
http://hwpics.com/obvid/handpo.htm

I downloaded a vid from your site and uploaded it to test it and it works on my android. Here is a link to that.
http://hwpics.com/obvid/handpo3.htm

The only significant difference I can see is the audio sample rate. Mine are 48k yours is 44.1k.

Can you give me your specs for encoding? Thanks.
-dan

Ethan Feldman

JW Player Support Agent  
0 rated :

What phone are you using? Is Flash installed?

JW Player

User  
0 rated :

Ethan,

Per your suggestion downloaded bunny.mp4 video to our HostGator website. Played fine on all devices except Android mobile phone.
Summarizing where we are now:
Using JW v 5.10
bunny.mp4 not playing on Samsung Blaze, OS2.3.6 at our site
Samsung Blaze plays bunny.mp4 at Longtailvideo.com site OK

The problem therefore, appears not to be the Android device or in our Video characteristics, it must be in our coding and the sensitivity of the code for Androids. We'll now compare the code on your site with ours to locate relevant differences. Any thoughts?

Ethan Feldman

JW Player Support Agent  
0 rated :

It looks like it must be something in regards to your server configuration then. Ask Host Gator if they can enable Rage Request Headers on your account.

JW Player

User  
0 rated :

Ethan,

Will do so.

However, is it Rage or Range Request Headers? What is this?

-RNC

Ethan Feldman

JW Player Support Agent  
1 rated :

Apparently mobiles need it…here is some information that someone else who was having a similar issue pointed out to me – http://threatpost.com/en_us/blogs/apache-plans-range-header-bug-fix-next-day-082611

JW Player

User  
0 rated :

Contacted our host and was advised that in order enable Range Request Headers we would have to upgrade from a shared server to a high level ( read that more $$ ) VPS. Yikes. We see that your site is hosted at GoDaddy. Your site works fine with Android mobile devices as well as all others. Are Range Request Headers enabled on your site server? Is your site a VPS or Private Server?

Ethan Feldman

JW Player Support Agent  
0 rated :

We have a dedicated server, it is not a shared server. We get a lot of traffic so we needed to get a totally dedicated server. I would also ask your host if the correct MIME-TYPEs are set.

This question has received the maximum number of answers.