From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: Re: Watching HTML5 video on GNU Guix? Date: Sat, 28 Dec 2019 15:26:06 +0000 Message-ID: <0fadd2c687bded6677d4222e799527da@disroot.org> References: <14AAB6FF-971F-4C8A-BBD6-42F9CC68B475@lepiller.eu> <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]:51098) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilDyo-00038l-Tn for help-guix@gnu.org; Sat, 28 Dec 2019 10:26:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilDyl-0004dt-RE for help-guix@gnu.org; Sat, 28 Dec 2019 10:26:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:57458) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ilDyl-0004SS-6n for help-guix@gnu.org; Sat, 28 Dec 2019 10:26:11 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 92ECF2E709 for ; Sat, 28 Dec 2019 16:26:08 +0100 (CET) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GTlCHzM3MhxR for ; Sat, 28 Dec 2019 16:26:07 +0100 (CET) In-Reply-To: <14AAB6FF-971F-4C8A-BBD6-42F9CC68B475@lepiller.eu> 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" Cc: help-guix@gnu.org Yes, it works now! Thank you!=0AI did this:=0A1) Icecat -> Preferences ->= Privacy & Security tab -> Icecat-specific privacy settings -> checked op= tion Enable WebGL=0A2) about:config -> search by 'whitelist' -> security.= sandbox.content.read_path_whitelist -> added a value: /gnu/store/=0A3) af= ter Icecat restart video works https://www.youtube.com/watch?v=3D9K26GI4C= 3uY=0A=0AThank you!=0A=0APS: Youtube gives much knowledge and information= for me in convenient way. I want to share with others this way. And it's= policies to get personal data, history and interest gives to it and to t= he authors way to gain much money. Sorry, while other free and secure pro= jects just put on their shoes, youtube runs on the millions computers.=0A= =0A=0ADecember 28, 2019 7:55 AM, "Julien Lepiller" w= rote:=0A=0A> Le 28 d=C3=A9cembre 2019 05:23:18 GMT+01:00, Maxim Cournoyer= a =C3=A9crit :=0A> =0A>> Hello Znavko,=0A>> = =0A>> znavko@disroot.org writes:=0A>> =0A>>> ffmpeg was installed:=0A>> = =0A>> [...]=0A>> =0A>>> Those two video are working (cause youtube had co= nverted them, I=0A>> =0A>> think).=0A>>> On the other videos that are not= displaying and often this is live=0A>> =0A>> streams (I think, youtube d= id not converted them to acceptable format)=0A>>> these Javascript warnin= gs with WebGL errors appear in terminal:=0A>>> =0A>>> https://www.youtube= .com/watch?v=3D9K26GI4C3uY=0A>>> =0A>>> $ icecat=0A>>> JavaScript error: = resource:///modules/sessionstore/SessionStore.jsm,=0A>> =0A>> line 1325: = uncaught exception: 2147746065=0A>>> JavaScript warning:=0A>> =0A>> https= ://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,=0A>> = line 0: Successfully compiled asm.js code (total compilation time 94ms)= =0A>>> JavaScript warning:=0A>> =0A>> https://mail.disroot.org/rainloop/v= /1.12.1/static/js/min/openpgp.min.js,=0A>> line 0: Successfully compiled = asm.js code (total compilation time 7ms)=0A>>> JavaScript warning:=0A>> = =0A>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.mi= n.js,=0A>> line 0: Successfully compiled asm.js code (total compilation t= ime 2ms)=0A>>> console.warn: LoginRecipes: "getRecipes: falling back to a= =0A>> =0A>> synchronous message for:" "https://www.youtube.com"=0A>>> Jav= aScript warning:=0A>> =0A>> https://www.youtube.com/yts/jsbin/player_ias-= vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL warning: getContext= : Disallowing antialiased=0A>> backbuffers due to blacklisting.=0A>>> Jav= aScript warning:=0A>> =0A>> https://www.youtube.com/yts/jsbin/player_ias-= vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL warning: : Failed to create=0A>> WebGL context: WebGL is currently disabled.= =0A>>> JavaScript warning:=0A>> =0A>> https://www.youtube.com/yts/jsbin/p= layer_ias-vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL warning: = getContext: Disallowing antialiased=0A>> backbuffers due to blacklisting.= =0A>>> JavaScript warning:=0A>> =0A>> https://www.youtube.com/yts/jsbin/p= layer_ias-vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL warning: = : Failed to create=0A>> WebGL context: WebGL is currently = disabled.=0A>>> JavaScript warning:=0A>> =0A>> https://www.youtube.com/yt= s/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL = warning: getContext: Disallowing antialiased=0A>> backbuffers due to blac= klisting.=0A>>> JavaScript warning:=0A>> =0A>> https://www.youtube.com/yt= s/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,=0A>> line 5359: Error: WebGL = warning: : Failed to create=0A>> WebGL context: WebGL is c= urrently disabled.=0A>>> Icecat console displays:=0A>>> Error: WebGL warn= ing: getContext: Disallowing antialiased backbuffers=0A>> =0A>> due to bl= acklisting. base.js:5359:276=0A>>> Error: WebGL warning: := Failed to create WebGL=0A>> =0A>> context: WebGL is currently disabled. = base.js:5359:276=0A>>> Blocked https://www.youtube.com/watch?v=3D9K26GI4C= 3uY from extracting=0A>> =0A>> canvas data because no user input was dete= cted. base.js:2900:157=0A>>> and many ties this:=0A>>> Request to access = cookie or storage on=0A>> =0A>> =E2=80=9Chttps://i.ytimg.com/vi/sfw1IB58H= YA/hqdefault.jpg?sqp=3D-oaymwE=E2=80=A6qpAwsIARUAAIhCGAFwAQ=3D=3D&rs=3DAO= n4CLDPtI4k=0A>> 5jl0Nq6M8f7wUF2sjlv6g=E2=80=9D=0A>>> was blocked because = we are blocking all third-party storage access=0A>>> requests and content= blocking is enabled.=0A>> =0A>> I can reproduce the problem; it seems th= at WebGL is now a required by=0A>> youtube when using Icecat 68? That's s= trange because the same video=0A>> plays fine in an older version of Icec= at (but I have to reload the page=0A>> to get it playing).=0A>> =0A>> Any= way, the problem seems to have more to do with Youtube than HTML5=0A>> pl= ayback in Icecat. A random HTML5 video playback test site [0] may=0A>> he= lp to convince you of such :-)=0A>> =0A>> You could try enabling WebGL in= your Icecat (disabled by default) by=0A>> visiting the "IceCat-specific = privacy settings" of the Settings page=0A>> and=0A>> checking "Enable Web= GL". That didn't work for me, as my driver seems=0A>> blacklisted by Mozi= lla. I tried force enabling it with suggestions=0A>> from=0A>> this page = [1] but your link would still wouldn't be happy with my WebGL=0A>> suppor= t.=0A>> =0A>> HTH,=0A>> =0A>> Maxim=0A>> =0A>> [0] https://tekeye.uk/html= /html5-video-test-page=0A>> [1]=0A>> https://developer.mozilla.org/en-US/= docs/Mozilla/QA/Graphics_Blocklisting=0A> =0A> It's not blacklisted, it's= blocked by mozilla's sandbox pplicy. In about:config you can change an= =0A> option named sandbox.readpath.whitelist or similar. Set it to /gnu/s= tore/ (with a trailing / which=0A> means recursively) to allow access to = the store, where icecat can find its webgl libraries. Then=0A> restart th= e browser.=0A> =0A> We should add that by default (or something more rest= rictive) but I don't know how.