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

JWPlayer keeps loading on Android until pause/play pressed


Hello,

I am having troubles setting up HTML5 player for android (Chrome KitKat). JWPlayer version: "5.6.1768 (Licensed version)". This is the setup I am using (pretty basic). The movie is mp4 and the variable is passed from AngularJS route parameter.

bc.. jwplayer('video-player').setup({
file: $routeParams.movieUrl,
width: '100%',
height: '100%',
autostart: true,
modes: [{
type: 'html5'
}]
});



This works perfectly on desktop Chrome, but on Android it just keeps showing spinner wheel until I press pause and play again. Thank it plays the video just fine.

Any idea what could be possible cause of this?

Thanks

4 Community Answers

JW Player

User  
0 rated :

There are no logs/errors in console. The only thing I noticed is that after pressing play button it shows canceled request for the video URL.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you provide a link to where you are trying to run this?

p...

User  
0 rated :

Hello,

Sorry for the late reply.

You will need to login here http://xps.sidelinesports.eu
login: jcclient
pw: sideline55

Then you can see the player on this URL:
xps.sidelinesports.eu/#/player/http://s3.amazonaws.com/xps-us/sidelinexps_xpstrainer.com/exercises/bench_press_barbell__483229018377029632/video/bench_press___barbell.mp4

p...

User  
0 rated :

I've tried updating the player to version 6.8.4616 which again works fine on desktop, but on Android (4.4.2) I am getting the following error after few seconds of buffering.

Error playing media:
MediaError
code: 4

MEDIA_ERR_ABORTED: 1
MEDIA_ERR_DECODE: 3
MEDIA_ERR_ENCRYPTED: 5
MEDIA_ERR_NETWORK: 2
MEDIA_ERR_SRC_NOT_SUPPORTED: 4

This question has received the maximum number of answers.