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

Error during playing video


We are using JWPlayer in our website. When a user is playing a video and they decide to navigate away from the page playing the video to another page. A error is thrown from the player. The error is:

'Error handling "jwplayerPlayerState" event listener [4]: TypeError: jwplayer(...).dispatchEvent is not a function'

I think the problem may be due to the fact that the user can navigate away while the video is playing, but I'm not 100% sure of this.

Why is this error thrown?

Thanks

Stephen

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi Stephen,

Can you please elaborate on your question? If the user is navigating away from the page, how are they seeing the error if they’re not on the page anymore?

Thank you.

This question has received the maximum number of answers.