
Could not add internal listener
I am keep getting this error. while registering the jwplayer
to div. i am getting this info in firefox console.
is this ok
I am keep getting this error. while registering the jwplayer
to div. i am getting this info in firefox console.
is this ok
any replies
I'm getting the same error. I have code making sure that the div with the specified id DOES exist, but no idea what else could be causing it.
Do you have a link?
Found the source of it, even though when I call .setup() the div exists, there is a small window of time between the calling of .setup and this.addInternalListener, during which the user can potentially navigate away from that particular page and remove the div, but this.addEventListener will still call pointing to the no longer existing div.
And sorry I don't have a link, but it looks like the solution will just be preventing user navigation until playerReady is called()
Great, glad you got it.
I got this error on my local dev machine when calling the JWPlayer assets remotely.
As soon as I switched this to a live https server, it worked.
Odd!
Weird.
I'm getting something very similar. I get "Could not add internal listener" when I try to play anything with JWPlayer on my pages when accessing the page via http, but the exact same page works fine when accessed by https. I'm still looking into it so I don't have many details yet but I'll post again when I figure anything out.
Ok it seems to be a problem caused when the JWPlayer swf is accessed via https from an http page. Changing the references to "//path" rather than "https://path" fixed the problem.
Glad you got it, thanks for sharing.
@Andrew this also fixed the same problem for me. I changed the reference for the flash app, html5 app, skin xml file, and javascript library.
The problem had been causing the plays not to register on my jwplayer account or on google analytics. It fixed both of those errors. I am using jwplayer 6.
Do you have an example of where you are running this where it is fixed?
I have the same problem on a site, the player doesn't work on iPhones/iPads anymore, and I'm getting this error in Chrome.
Everything is referenced locally and relatively though.
techmusicschool [dot] co [dot] uk
Any help would be great.
You are using 5.3 here, I would update to 5.10 – http://www.longtailvideo.com/order/view