I'm using version 5.7 and I noticed that when subscribing to events in jwPlayer, not all events set the 'type' attribute on the event object. I have not tested all events, but specifically the onPlay and onPause events do not set this attribute.
It seems like this should be standard across the board for events so you can use a common function for event handling. Just a thought, and this may already be fixed in newer versions, but I was just throwing it out there.
Thanks.
Thanks for the suggestion. None of our events set the "type" attribute, but we will look into possibly adding it.