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

onReady is not working in jwplayer 6.7


I have got two question,



1.

I am getting this error after I have removed the player

What does this error means

"There was an error while handling a listener: TypeError: undefined is not a function function (dat) { jwplayer("video_jw_div").dispatchEvent("jwplayerPlayerState", dat); } "

"There was an error while handling a listener: TypeError: undefined is not a function function (dat) { jwplayer("video_jw_div").dispatchEvent("jwplayerMediaTime", dat); } "


I am getting this error when I am using jwplayer().remove()

I want to know in what scenario this error comes ???


2.
onReady is not working in jwplayer 6.7

step 1: goto jwplayer.com
step 2: Type in console

jwplayer("playerzmblbkjP_wrapper").onReady( function(event){
alert("Hi");
});

this does not work even when video is playing

what AM I doing wrong ?


Thanks for support

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see a link to where this is running?

hitesh.kumar

User  
0 rated :

you can see it here

step 1: goto jwplayer.com
step 2: Type in console

jwplayer("playerzmblbkjP_wrapper").onReady( function(event){
alert("Hi");
});

i am trying it in console it is showing same behavior

Ethan Feldman

JW Player Support Agent  
0 rated :

If you go to the link you will notice that the first thing there is an image, not the player.

Try here, works fine:

http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed

This question has received the maximum number of answers.