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

Was there an update today?


After several months of pretty smooth sailing, suddenly today our videos stopped working with one method and are continuing to work for the other.

This iFrame thing is still working great:
<iframe src="http://content.jwplatform.com/previews/8oU3jVMx-Re6FScHX?exp=1429000145&sig=e281b2a865e135895a0f5c95c5073a71" height="200" width="350"></iframe>


This javascript solution, which I believe we needed so we could capture events as the video is playing:
<script type='text/javascript' src='http://content.jwplatform.com/players/mCK9b7Bx-0idVsere.js?exp=1429000227&sig=9b40b07c9d91272c9b1063f97605f769'></script>

In this case the player will show the starting frame and then the loading animation runs forever.

Was there a change?

5 Community Answers

Todd

JW Player Support Agent  
0 rated :

There were not any changes on our side. Can you provide a link to a page where the video is embedded? I’ll take a look and see if I can see anything out of the ordinary.

r...

User  
0 rated :

I was able to isolate the problem.

We are no longer able to get the position of the player object when the HTML page has loaded.

Every 5 seconds we record the position of the video that the person is watching. Then if they come back we move the playhead to the last know point. We also do this when they switch languages of the videos.

In the past the position would return a -1 if the player was not ready and if it was there we moved the playhead.

Starting yesterday the getPosition() method was returning a notdefined message. Since that was not a -1 it tried to position the video and that hung everything up.

I have a work around where I set a one time timer to wait .5 seconds and then it fires an event that does get the player object and does position the playhead to the right place.

But it really feels like I should be able to set the initial placement when the page has finished loading.

Do have any advice?

This just started going wacko yesterday.

Todd

JW Player Support Agent  
0 rated :

I just did a little testing and I think I might have an explanation. When our player is in Flash mode, we correctly report the duration in an onPlay() event. Unfortunately our player does not report the duration correctly in HTML5 mode. Your workaround of waiting half a second is the same thing I did:

jwplayer(“myElement”).setup({
file: ‘bunny.mp4’,
primary: ‘html5’,
height: ‘450’,
width: ‘800’,
image: ‘bunny.jpg’
});

jwplayer().onPlay(function(){
setTimeout(function(){console.log(jwplayer().getDuration())}, 500);
});

r...

User  
0 rated :

Thank you Todd. There are many moving parts to this and I certainly can sympathize with trying to keep everything working all the time.

Is there a list of minimum requirements for the browsers on the different OS's? I know that is a continuously moving target as well. But it would be nice to have a reference for our clients.

Thank you!

Todd

JW Player Support Agent  
0 rated :

I think the only minimum requirement would Flash 10.1. Our player checks if the viewer’s web browser can play the desired video type natively in HTML5 mode. If the web browser reports that it cannot, we will load the video using the browser’s Flash plugin. If neither scenario is available, I would expect the viewer to see an error message.

This question has received the maximum number of answers.