![](https://secure.gravatar.com/avatar/377f6cff0ae12720a25d8bc9ee0bb61e?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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