https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_introduction/#event-listening-with-the-jw-player-api