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

The rotating loading circle isn't shown when seeking using MP4 and HTML5


Hi,
I'm testing the great 7.1.0 version of the free JW Player and I have a strange behavior when seeking with MP4 pseudo-streaming using HTML 5 player. The rotating loading circle isn't shown when I seek to a time code. It's only shown at start up.
Did anyone notice this behavior too ? (and may has a solution ?)

When I'm switching to FLV pseudo-streaming + Flash player, all works fine.
(All works fine too with version 6.12 + MP4 and HTML5)

Thanks in advance for any help.

6 Community Answers

mark

User  
0 rated :

This is what you want? Why?
The circle indicates a moment of buffering. All this means is that it is performing well when you don't see it.

Alex

JW Player Support Agent  
0 rated :

Hi, there.

Can you please give me a link to a page where you have the affected player installed?

Mark is correct, if you do not see a spinning gear, it usually means that the video is already cached and doesn’t need to buffer. When you do see on the HTML5 player, does the player begin playback immediately at the new time?

djakone

User  
0 rated :

Hi,
thank you very much for your answers.

After further investigations it seems to depend of the video format and of our streaming server because with some other videos the player immediately begins playback at new time when seeking.

For the original problem, the spinning gear doesn't appear but the player doesn't begin playback immediately at the the new time, only after some seconds (otherwise no problem :) ). So I guess even if the issue is generated by our format or server in the video delivery, the HTML5 player may have a little bug making it no showing the spinning gear in some special waiting/loading state. (The behavior doesn't exist in Flash mode or HTML5 6.12 mode)

I do only local tests at this moment and I need to make a test case I can provide to you but I have difficulties to migrate to version 7 because of a change I didn't identified at this moment. I load the JS script in the head of the main page site then I setup the player through Ajax request. With version 7 I can't re-setup the same player through Ajax, when I call again setup() I have this error:
TypeError: a is null
http://localhost/site/player7/jwplayer.js
Line 1

I'm investigating.

djakone

User  
0 rated :

Hi,
I finally put online a test case but the bug is not well noticeable, we need to seek a lot and sometime we can see the player waits and loads for some seconds and only after that, it displays the spinning gear a very quick time (actually to late, because the video range is still loaded) then play the video at the new time code. I do the tests with Firefox. See: http://fanum.univ-fcomte.fr/fana/test.php

The test case also shows the other issue I have when I'm trying to re-setup an existing player, it's a simple test case. I use the onload attribute of an image to init the player. If we click on "Test setting up again JW Player via onload", we can see the init() function is well called, through the call of the alert("init player") but there is a null error in jwplayer.js. The second link works well via directs JS access.

Any help is welcome :)

I may change my initialization method but in production I do that through Ajax which limits the usage of direct JS calls without using eval(), that's why I used the img.onload attribute.

djakone

User  
0 rated :

I finally resolved the null Error by calling:

jwplayer('container').remove();

before setup()

Thanks for reading!
(I keep the test case online for a while)

Alex

JW Player Support Agent  
0 rated :

Awesome. Glad you got it taken care of!

This question has received the maximum number of answers.