
JW7 Events via jwplayer setup
I'm currently working through migration from JW6 to JW7. I've gone through the documentation, and reviewed the new JW7 API Event Handling. I realize all "onEvents" have been deprecated in favor of on('event'), but for the time being (JW Player v7.2.3 Premium), they still work. I presume JW8 they will be removed.
The problem I'm currently facing is that most events working on JW6 defined in setup() events still seem to be firing, but not all (e.g. onFullscreen does not):
jwplayer().setup({
... ,
events: {
onReady: function(){ ... },
onBeforePlay: function(){ ... },
onFullscreen: function(){ /* Does not fire? */ }
}
};
I realize I should convert each player event to this format: playerInstance.on(event, [callback], [context]), but I can't find any JW7-specific documentation about supporting events configured via JW Player setup(), while yet it appears some of them are indeed supported.
Does anyone know where to find JW7 documentation outlining this support? Why would some events configured in this manner work, and onFullscreen does not? (Perhaps others?)