Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

14 Community Answers

JW Player

User  
0 rated :

any replies

JW Player

User  
0 rated :

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.

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

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()

Ethan Feldman

JW Player Support Agent  
0 rated :

Great, glad you got it.

JW Player

User  
0 rated :

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!

Ethan Feldman

JW Player Support Agent  
0 rated :

Weird.

JW Player

User  
0 rated :

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.

JW Player

User  
1 rated :

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.

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it, thanks for sharing.

JW Player

User  
1 rated :

@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.

Ethan Feldman

JW Player Support Agent  
1 rated :

Do you have an example of where you are running this where it is fixed?

JW Player

User  
0 rated :

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.

Ethan Feldman

JW Player Support Agent  
0 rated :

You are using 5.3 here, I would update to 5.10 – http://www.longtailvideo.com/order/view

This question has received the maximum number of answers.