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

Stopping playback with .stop command

I'm using the JWPlayer in a popup, and I've added this to the close button in order to stop the video - onclick="jwplayer('container').stop();"

The problem is with IE 11. The video playback stops, but if you open the popup again, the video is black and only gives you audio. You need to refresh the page in order to fix the issue. I don't have this issue in Chrome or Firefox. I've tried using the .pause function as well and get the same result.

Any thoughts?

1 Community Answers


JW Player Support Agent  
0 rated :


Thank you for contacting the JW Player support team. My name is Randy and when you have the user click the close icon are you simply wanting the player to stop and minimize or do you want to remove the player entirely? I’ve tried this on my end using various releases of windows with the following code and have no issue:



Might work as well.

Please let me know if I am missing the mark.


Randy Lemoine
Primary Support Engineer
JW Player Support Team

This question has received the maximum number of answers.