From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Watching HTML5 video on GNU Guix? Date: Sat, 28 Dec 2019 08:54:51 +0100 Message-ID: <14AAB6FF-971F-4C8A-BBD6-42F9CC68B475@lepiller.eu> References: <84E737B2-1A3C-4B57-AE28-FC7E2778E8B8@lepiller.eu> <18fa1d089f5c68232631042a9f50debc@disroot.org> <87imm1dqo9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60661) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1il6wC-0007cG-CX for help-guix@gnu.org; Sat, 28 Dec 2019 02:55:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1il6wA-0004I5-Ie for help-guix@gnu.org; Sat, 28 Dec 2019 02:55:04 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:35550) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1il6w9-000478-Uy for help-guix@gnu.org; Sat, 28 Dec 2019 02:55:02 -0500 In-Reply-To: <87imm1dqo9.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Maxim Cournoyer , znavko@disroot.org Cc: help-guix@gnu.org Le 28 d=C3=A9cembre 2019 05:23:18 GMT+01:00, Maxim Cournoyer a =C3=A9crit : >Hello Znavko, > >znavko@disroot=2Eorg writes: > >> ffmpeg was installed: >> > >[=2E=2E=2E] > >> Those two video are working (cause youtube had converted them, I >think)=2E >> >> On the other videos that are not displaying and often this is live >streams (I think, youtube did not converted them to acceptable format) >> these Javascript warnings with WebGL errors appear in terminal: >> >> https://www=2Eyoutube=2Ecom/watch?v=3D9K26GI4C3uY >> >> $ icecat >> JavaScript error: resource:///modules/sessionstore/SessionStore=2Ejsm, >line 1325: uncaught exception: 2147746065 >> JavaScript warning: >https://mail=2Edisroot=2Eorg/rainloop/v/1=2E12=2E1/static/js/min/openpgp= =2Emin=2Ejs, >line 0: Successfully compiled asm=2Ejs code (total compilation time 94ms) >> JavaScript warning: >https://mail=2Edisroot=2Eorg/rainloop/v/1=2E12=2E1/static/js/min/openpgp= =2Emin=2Ejs, >line 0: Successfully compiled asm=2Ejs code (total compilation time 7ms) >> JavaScript warning: >https://mail=2Edisroot=2Eorg/rainloop/v/1=2E12=2E1/static/js/min/openpgp= =2Emin=2Ejs, >line 0: Successfully compiled asm=2Ejs code (total compilation time 2ms) >> console=2Ewarn: LoginRecipes: "getRecipes: falling back to a >synchronous message for:" "https://www=2Eyoutube=2Ecom" >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: getContext: Disallowing antialiased >backbuffers due to blacklisting=2E >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: : Failed to create >WebGL context: WebGL is currently disabled=2E >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: getContext: Disallowing antialiased >backbuffers due to blacklisting=2E >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: : Failed to create >WebGL context: WebGL is currently disabled=2E >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: getContext: Disallowing antialiased >backbuffers due to blacklisting=2E >> JavaScript warning: >https://www=2Eyoutube=2Ecom/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base=2Ej= s, >line 5359: Error: WebGL warning: : Failed to create >WebGL context: WebGL is currently disabled=2E >> >> >> Icecat console displays: >> Error: WebGL warning: getContext: Disallowing antialiased backbuffers >due to blacklisting=2E base=2Ejs:5359:276 >> Error: WebGL warning: : Failed to create WebGL >context: WebGL is currently disabled=2E base=2Ejs:5359:276 >> Blocked https://www=2Eyoutube=2Ecom/watch?v=3D9K26GI4C3uY from extracti= ng >canvas data because no user input was detected=2E base=2Ejs:2900:157 >> >> and many ties this: >> Request to access cookie or storage on >> >=E2=80=9Chttps://i=2Eytimg=2Ecom/vi/sfw1IB58HYA/hqdefault=2Ejpg?sqp=3D-oa= ymwE=E2=80=A6qpAwsIARUAAIhCGAFwAQ=3D=3D&rs=3DAOn4CLDPtI4kQ5jl0Nq6M8f7wUF2sj= lv6g=E2=80=9D >> was blocked because we are blocking all third-party storage access >> requests and content blocking is enabled=2E > >I can reproduce the problem; it seems that WebGL is now a required by >youtube when using Icecat 68? That's strange because the same video >plays fine in an older version of Icecat (but I have to reload the page >to get it playing)=2E > >Anyway, the problem seems to have more to do with Youtube than HTML5 >playback in Icecat=2E A random HTML5 video playback test site [0] may >help to convince you of such :-) > >You could try enabling WebGL in your Icecat (disabled by default) by >visiting the "IceCat-specific privacy settings" of the Settings page >and >checking "Enable WebGL"=2E That didn't work for me, as my driver seems >blacklisted by Mozilla=2E I tried force enabling it with suggestions >from >this page [1] but your link would still wouldn't be happy with my WebGL >support=2E > >HTH, > >Maxim > >[0] https://tekeye=2Euk/html/html5-video-test-page >[1]=20 >https://developer=2Emozilla=2Eorg/en-US/docs/Mozilla/QA/Graphics_Blocklis= ting It's not blacklisted, it's blocked by mozilla's sandbox pplicy=2E In about= :config you can change an option named sandbox=2Ereadpath=2Ewhitelist or si= milar=2E Set it to /gnu/store/ (with a trailing / which means recursively) = to allow access to the store, where icecat can find its webgl libraries=2E = Then restart the browser=2E We should add that by default (or something more restrictive) but I don't = know how=2E