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

Uncaught TypeError: Illegal invocation


Hello. I am getting an error when I try to use the JWPlayer to load a video. The video UI Overlay does not appear on the video (though the video still plays as part of the <video> element) and I am getting the following stack trace:

Uncaught TypeError: Illegal invocation
at rt.updateBounds (master.js:1)
at rt.init (master.js:1)
at g.yi (master.js:1)
at u (master.js:1)
at u.trigger (master.js:1)
at w (master.js:1)
at i (master.js:1)
at Object.ht [as method] (master.js:1)
at y (master.js:1)
at c (master.js:1)
master.js:1 Uncaught TypeError: Illegal invocation
at f (master.js:1)

The only file I have referenced in the BundleConfig is the jwplayer.js and the key and setup all looks like it has been done correctly.

We are currently using version 7.12.8. What can we do to correct this issue? I am willing to do a screen share if you would like to see the issue in action.

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

Is master.js the bundle that contains the player? Also, can you please supply a link to a reproduction page so we can take a look at your issue?

Thank you.

Philip Gylche

User  
0 rated :

Hey, I am also seeing the exact same issue. The video plays but the controls do not show, and I get an "Illegal Invocation error" like described above.

Alex

JW Player Support Agent  
0 rated :

Hi Philip,

Can you please supply a link to a reproduction page so we can take a look at your issue?

Thank you.

This question has received the maximum number of answers.