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

Video displays previously played video briefly when loading new video


I am having an issue only in IE where the previous video flashes briefly while the next video is loading in the player. The site has several thumbnails which are clickable to open a colorbox pop up. There is just one colorbox pop up which embeds the JW Player. When closing the pop up, I'm calling the unload() event so the player should be removed and returned to the splash state. This works correctly as the next splash image that appears after closing a pop up and clicking on another thumbnail shows the correct image. The issue only happens after clicking on the splash image in IE only; firefox, chrome and safari are ok.

Here's a link to the website. You must search "superior, wi" by changing the location in order to get multiple videos for testing. http://petdemo.findpetlocal.com/?kw=petdemo

7 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

In addition to using unload(), you might also want to look into using jwplayer().remove() as well.

jnguyen

User  
0 rated :

Hi Ethan,

Thanks for your reply. Can you tell me, what is the difference between FlowPlayer and JWPlayer? I'm not defining JWPlayer so it's just giving me an error that 'jwplayer is undefined'.

Ethan Feldman

JW Player Support Agent  
0 rated :

They are two totally different products / players. I don’t see that error in the console on your link.

jnguyen

User  
0 rated :

I tested it in dev as I didn't want to put it on the production site since users would get the error.

I'm using FlowPlayer and that's why I'm using the "unload()" method. How would I use jwplayer().remove() with the FlowPlayer? I'm not sure how I could use both.

Todd

JW Player Support Agent  
0 rated :

You would not be able to use our Javascript API to interact with a FlowPlayer video. I went to your page and changed the location as instructed, but I did not see any of our players embedded on the page.

jnguyen

User  
0 rated :

Hi Todd,

Here are the instructions to reproduce the issue. You have to be using IE in order to see it.

1.) Go to http://petdemo.findpetlocal.com/?kw=petdemo
2.) Enter city/state as "superior, wi" and click "change location"
3.) The results will populate on the left column of the page.
4.) Click on one of the images that has a play triangle over it, and the video using the flowplayer will display in a pop up with the splash image.
5.) Click the splash image and the video will play.
6.) Click the close "x" in the top right of the pop up. This is where I'm calling the flowplayer unload() method.
7.) Click on a different image in the results that has a play triangle on it and a different splash image should load in the pop up.
8.) Click on the splash image and the video will start playing. This is where the issue is. Before the new video has loaded and starts playing, the previous video plays.

Please let me know if you need further instructions.

Todd

JW Player Support Agent  
0 rated :

We do not provide support for FlowPlayer. Do you have a question regarding JW Player?

This question has received the maximum number of answers.