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

Stop() function isn't working in Internet Explorer


Hi,

I needed a button which will show video with first look(poster, play button,etc...). For this I created custom Stop button, here is the code when you click on it:

jwplayer().stop('introVideoBox');

This works fine everywhere(Firefox,Opera,Chrome) except Internet Explorer even in IE 11 it isn't working properly. At first when I click on that button it works good but second time when I click it doesn't work and shows this error "Error playing media {media file link}".

Can you help me to solve this please ?
Thanks.

7 Community Answers

Todd

JW Player Support Agent  
0 rated :

Please see http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference for more details on stop()

We are not expecting a value to be passed. If ‘introVideoBox’ is your player div, the correct syntax would be:

jwplayer(‘introVideoBox’).stop();

What version of the player are you using? I am not able to reproduce the error you are seeing when you press a Stop() button twice.

contact

User  
0 rated :

I am using JW Player Premium 7.1.4 version. I ahve tried both syntax jwplayer(‘introVideoBox’).stop() but anyways in IE it isn't working.

Randy

JW Player Support Agent  
0 rated :

Hello,

Do you happen to have a sample link as well as utilize the !<DOCTYPEhtml>.

Kindly,

Randy Le’Moine, Web Support Engineer, JW Player
www.jwplayer.com

contact

User  
0 rated :

Yes, here is the link - http://www.test.teenvoice.co/, when you scroll down you will see , pink sidebar in left side, click on play button twice and you will see issue in IE.

contact

User  
0 rated :

Hi, any news?

contact N/A

User  
0 rated :

I found the issue. As my videos are in Amazon. There was some conflict with video link in amazon. However I found solution. JW Player is very nice. Thanks.

Randy

JW Player Support Agent  
0 rated :

Glad to hear you resolved the issue.

Cheers,
Randy

This question has received the maximum number of answers.