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

Firefox 43 - WebGL getParameter: parameter invalid enum value enum 0x9246


Hello! I'm using FireFox and recently I noted (exactly since version 42) that Firefox tell me that there is a Javascript Error:

Date and time: 09/01/2016 13:03:16
Error: WebGL: getParameter: parameter: invalid enum value <enum 0x9246>
Source File: https://s.ytimg.com/yts/jsbin/player-it_IT-vfl5j9AXI/base.js
Row: 3008

Seems to some obsolete code in some part of this script that is hosted to https://s.ytimg.com/

To see the error see this example:

http://www.alecos.it/diary_15092014.php#P163263

Other pages of my web site where I don't use JWPlayer are free of error, this happens only if I call JWPlayer...

Is solvable?

Before Firefox 42 everything worked fine... now I have this error...

Happy New Year!

Kind regards.
--
Alessandro

14 Community Answers

Todd

JW Player Support Agent  
0 rated :

ytimg.com looks like it is part of YouTube. Do you see the same error when you are using our player to load content from somewhere other than YouTube?

alecosnet

User  
0 rated :

Sorry, I load usually only youtube videos. Nothing else, thanks for your kindly reply.

Kind regards.

Alessandro

alecosnet

User  
0 rated :

I did a test, I just put into my web page (in localhost) this code:

<div class="otvideo" style="float: left; margin: 0 5px 5px 0"><iframe width="560" height="315" src="https://www.youtube.com/embed/EWC9JZtMOWQ?rel=0" frameborder="0"></iframe></div>

And the warning/error on FireFox is not displayed anymore, so I think something of incompatible code with JWPlayer....

Correct me if I wrong...

Kind regards.
--
Alessandro

Todd

JW Player Support Agent  
0 rated :

Did your previous embeds also have the HTTPS URL for YouTube? We have not made any changes on our side, so if the error disappeared, perhaps YouTube made a change?

alecosnet

User  
0 rated :

I usually use this setup:

<div class="otvideo" style="float: left; margin: 5px 5px 5px 5px"><div id="container_832014194244887">&nbsp;</div><script language="javascript" type="text/javascript">jwplayer("container_832014194244887").setup({file: "https://www.youtube-nocookie.com/v/MrPpxBb3FXI?rel=0", type: 'youtube', height: 315, width: 560, primary: 'html5'});</script><noscript><span class="no-plugin">&nbsp;</span></noscript></div>

Every YouTube Video is configured like this. Other Videos change only the container_xxxxxxxxxx and the url

I'm using JWPlayer 7.2.4 Pro

With this setup I get this warning/error on firefox 43

Error: WebGL: getParameter: parameter: invalid enum value <enum 0x9246>
Source File: https://s.ytimg.com/yts/jsbin/player-it_IT-vfl5j9AXI/base.js
Row: 3008

Using standard Iframe youtube I cannot see the error/warning...

Kind regards.
--
Alessandro

Todd

JW Player Support Agent  
0 rated :

I used this code:

<div class="otvideo" style="float: left; margin: 5px 5px 5px 5px"><div id="container_832014194244887"> </div><script language="javascript" type="text/javascript">jwplayer("container_832014194244887").setup({file: "https://www.youtube-nocookie.com/v/MrPpxBb3FXI?rel=0", type: 'youtube', height: 315, width: 560, primary: 'html5'});</script><noscript><span class="no-plugin"> </span></noscript></div>

on a test page but I am not seeing any errors in Firefox 43.0.4 for Mac.

I also do not see any errors with this setup code:

<div id='test'></div> <script type='text/javascript'> jwplayer('test').setup({ file: 'https://www.youtube.com/watch?v=abQRt6p8T7g', }); </script>

What Firefox version and OS are you using?

alecosnet

User  
0 rated :

I'm using FireFox 43.0.4 and I'm using Windows 10 Home 64bit. I'm also using Firefox html validator and Firefox web developer plugins. So I can inspect any warning/error...

http://s22.postimg.org/mkqrnuk0h/Cattura.png

http://s16.postimg.org/qda6stv5h/Cattura1.png

To install developer plugins for firefox:

https://addons.mozilla.org/en/firefox/addon/html-validator/?src=search
https://addons.mozilla.org/en/firefox/addon/web-developer/?src=search

In html validator use SGML as validator engine.

Thanks.

Kind regards.
--
Alessandro

alecosnet

User  
0 rated :

To see all errors/warnings:

http://s23.postimg.org/58xz4ywjf/Cattura_2.png

https://addons.mozilla.org/en/firefox/addon/html-validator/
https://addons.mozilla.org/en/firefox/addon/web-developer/

Please use firefox which has a lot of developer plugins.

Kind regards.
--
Alessandro

Todd

JW Player Support Agent  
0 rated :

I installed those two add-ons but I am still not seeing the same errors from your page. Are you still seeing the errors?

alecosnet

User  
0 rated :

Do you have enabled developer toolbar in firefox?

http://s23.postimg.org/58xz4ywjf/Cattura_2.png

When you enabled web developer toolbar visit my page:

http://www.alecos.it/diary_15092014.php#P163263

Then click with mouse on yellow triangle on the right top of firefox:

http://s22.postimg.org/mkqrnuk0h/Cattura.png

Will open the errors/warning consolle of firefox, then scroll upon you find my waring/error...

http://s16.postimg.org/qda6stv5h/Cattura1.png

web developer toolbar allow to see the consolle errors/warnings produced by website and allows to inspect any elements.

You have to click with the right mouse button in your bookmarks and check you will see a popup menu: the menu bar, bookmarks bar, and web devloper toolbar when you did see in the upper right tick three icons. All three green if there are no errors, or some red and yellow triangles if there are errors and warnings. If you click on the yellow icon triangle will open the firefox console and now you can find scrolling the windows console the waring/errors that I'm trying to explain.

Todd

JW Player Support Agent  
0 rated :

I am using Firefox 43 for Mac with the plugins you suggested, but I am getting three check marks. Please see the screen shot at http://imgur.com/Za7iBUa

I will try adding these same plugins to Firefox in Windows 10 to see what I get.

alecosnet

User  
0 rated :

Hi! Try to click on the third check marks on the right, will open a window console, it's the firefox console error/warning. Click on "delete all" and close the console, then try to reload my page: http://www.alecos.it/diary_15092014.php#P163263 and open the console as you did first. Go to Warnings and scroll down all the warning/errors. You'll able to see my warning/error.

Thanks.

Todd

JW Player Support Agent  
0 rated :

Ok, I see the errors, but the videos are still playing correctly.

I have not reproduced this error with any content outside of YouTube, and every indication I have from our engineers is that our player loads YouTube videos directly using the YouTube API, so there is not anything we could do to resolve this error.

alecosnet

User  
0 rated :

Thank you for your efforts.

I really appreciate this.

Kind regards.
--
Alessandro

This question has received the maximum number of answers.