![](https://secure.gravatar.com/avatar/10dba6b8299886578140dc5885d0be54?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
jwplayer 7.0 events not firing
I am trying to tap various events fired by the jwplayer. I am playing the following public link just as a test stream :
http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
I tried the following code to tap the events but they do not seem to be firing at all
playerInstance = jwplayer("vplayer");
//Register for various events
playerInstance.on('ready', function(setupTime){
console.log('Time taken is : ' + setupTime);
});
playerInstance.on('playAttempt', function(e){
console.log('Play started');
});
My video is playing fine - am able to play/pause, mute etc the video. However, events are not firing.
I am unable to figure out what the problem might be. In some similar queries somebody mentioned this might be a cross domain issue. Is that what this is ? My page and the content are certainly not in the same domain.
Will appreciate any insight.