![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
JW PLAYER 5.9 JS errors
Getting a lot of JS errors after upgrading to 5.9:
Happening on a page with mutually exclusive player script:
http://developer.longtailvideo.com/contributors/nyboe/JW_API_xmpl_1-1-3-0.html
HTML5 enabled/Chrome 16
Could not add mouse listeners to controlbar: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1Could not add mouse listeners to dock: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1Could not add mouse listeners to controlbar: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1Could not add mouse listeners to dock: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1Could not add mouse listeners to controlbar: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1Could not add mouse listeners to dock: TypeError: Cannot call method 'addEventListener' of null
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerPlayerState", dat); }
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerPlaylistItem", dat); }
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerMediaMeta", dat); }
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerMediaMeta", dat); }
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerMediaMeta", dat); }
jwplayer.js:1There was an error while handling a listener: TypeError: Cannot call method 'dispatchEvent' of null function (dat) { jwplayer("aplayer1").dispatchEvent("jwplayerPlayerState", dat); }