I have written a piece of code to unregister from JWPlayer events
jwPlayer().on('remove', function(e){
// taking the lisenters off
jwplayer().off('error');
jwplayer().off('levelsChanged');
});
Problem is these "off" calls work, if they are called before remove is called on the player but after remove is called, the execution stops.
jwplayer().remove()
So my question is does "remove" removes the listeners and I dont have to do it manually or am I doing something wrong.