all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Watching HTML5 video on GNU Guix?
@ 2019-12-26 18:00 znavko
  2019-12-26 18:04 ` Julien Lepiller
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: znavko @ 2019-12-26 18:00 UTC (permalink / raw)
  To: help-guix

Hello! I've updated my system having now working Xfce4, this bug was fixed: https://issues.guix.gnu.org/issue/37342

But now I cannot watch HTML5 videos in IceCat 68.3.0esr (64-bit), cause it does not support one of formats video hosting is using.
It says: "In current time your browser does not support any of available video formats."

All those extensions in Icecat are disabled, so LibreJS, LibrifyJS, Searxes blocker - are disabled.

I have a question of how to use this part of the internet and work on GNU Guix simultaneously.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-26 18:00 Watching HTML5 video on GNU Guix? znavko
@ 2019-12-26 18:04 ` Julien Lepiller
  2019-12-26 18:24 ` Tobias Geerinckx-Rice
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Julien Lepiller @ 2019-12-26 18:04 UTC (permalink / raw)
  To: help-guix, znavko

Le 26 décembre 2019 19:00:13 GMT+01:00, znavko@disroot.org a écrit :
>Hello! I've updated my system having now working Xfce4, this bug was
>fixed: https://issues.guix.gnu.org/issue/37342
>
>But now I cannot watch HTML5 videos in IceCat 68.3.0esr (64-bit), cause
>it does not support one of formats video hosting is using.
>It says: "In current time your browser does not support any of
>available video formats."
>
>All those extensions in Icecat are disabled, so LibreJS, LibrifyJS,
>Searxes blocker - are disabled.
>
>I have a question of how to use this part of the internet and work on
>GNU Guix simultaneously.

Hi,

I think I and Mark fixed that just a few days ago. Maybe try to run guix pull and update your system or the profile icecat is coming from. Otherwise, can you send us a URL that does not work for you, so we can try and fix it?

Thank you!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-26 18:00 Watching HTML5 video on GNU Guix? znavko
  2019-12-26 18:04 ` Julien Lepiller
@ 2019-12-26 18:24 ` Tobias Geerinckx-Rice
  2019-12-27  5:16 ` znavko
  2019-12-27  9:14 ` Alexei Drozdov
  3 siblings, 0 replies; 10+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-12-26 18:24 UTC (permalink / raw)
  To: help-guix, znavko@disroot.org

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Znavko,

znavko@disroot.org 写道:
> I have a question of how to use this part of the internet and 
> work on GNU Guix simultaneously.

Trick answer, perhaps, but I watch all HTML videos with

  $ mpv URI…

even on other distributions.

On Guix System, it supports (libva) hardware acceleration, unlike 
any Web browser I've tried.

It's also just oodles more enjoyable & user-friendly than forcing 
a browser to be something it's not (slowly, badly, 
battery-destroyingly).

Unfortunately it doesn't support all sites, only those supported 
by youtube-dl.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-26 18:00 Watching HTML5 video on GNU Guix? znavko
  2019-12-26 18:04 ` Julien Lepiller
  2019-12-26 18:24 ` Tobias Geerinckx-Rice
@ 2019-12-27  5:16 ` znavko
  2019-12-28  4:23   ` Maxim Cournoyer
  2019-12-27  9:14 ` Alexei Drozdov
  3 siblings, 1 reply; 10+ messages in thread
From: znavko @ 2019-12-27  5:16 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

ffmpeg was installed:

$ guix install ffmpeg
The following package will be upgraded:
   ffmpeg	4.2.1 → 4.2.1	/gnu/store/rc3j2svk1jcviig5qk9q49k5z2giwc6r-ffmpeg-4.2.1

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/q77mx4rwzp2f9dlfcwyfrq2jr6iqd189-profile.drv
The following profile hooks will be built:
   /gnu/store/6vy42kw25p39ns5nc59ah5h5ybqv2bxh-manual-database.drv
   /gnu/store/86586pml7sbkpr0q99ks8qybqrjz8y90-ca-certificate-bundle.drv
   /gnu/store/9g63hzqwyxhngi3w54qak81zy34smwak-gtk-im-modules.drv
   /gnu/store/bdk8kd8riawgy8xxxiw892g40669g1a2-xdg-desktop-database.drv
   /gnu/store/djqd46r7kyby9rf039sgxbw1sry3wpl5-info-dir.drv
   /gnu/store/fah28q0y8dxzayym4z7vixdq6yk41wkm-glib-schemas.drv
   /gnu/store/hrvmv6kzxf6qpnbl19i5b4wflb5f4j77-xdg-mime-database.drv
   /gnu/store/jzflbgzgsdjgfhhxdb92pmmn1zazjhc6-gtk-icon-themes.drv
   /gnu/store/q97kj7m0239f4n4w024ai0wymb7cf05p-fonts-dir.drv
building CA certificate bundle...
building fonts directory...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building database for manual pages...
building XDG desktop file cache...
building XDG MIME database...
building /gnu/store/q77mx4rwzp2f9dlfcwyfrq2jr6iqd189-profile.drv...
85 packages in profile



Those two video are working (cause youtube had converted them, I think).

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.youtube.com/watch?v=9K26GI4C3uY

$ icecat
JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 1325: uncaught exception: 2147746065
JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 94ms)
JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 7ms)
JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 2ms)
console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://www.youtube.com"
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.


Icecat console displays:
Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting. base.js:5359:276
Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled. base.js:5359:276
Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting canvas data because no user input was detected. base.js:2900:157

and many ties this:
Request to access cookie or storage on “https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDPtI4kQ5jl0Nq6M8f7wUF2sjlv6g” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.


Also coub.com does not show any video (but only preview and loading gif). And terminal says:

JavaScript error: , line 0: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript error: , line 0: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript error: , line 0: NotSupportedError: The media resource indicated by the src attribute or assigned media provider object was not suitable.
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript error: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 41183: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript error: , line 0: NotSupportedError: The media resource indicated by the src attribute or assigned media provider object was not suitable.
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript warning: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 39617: Error: This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to init decoder
JavaScript error: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 41183: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript error: , line 0: NotSupportedError: The media resource indicated by the src attribute or assigned media provider object was not suitable.
JavaScript error: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 55395: TypeError: googletag.pubads is not a function
JavaScript error: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 55395: TypeError: googletag.pubads is not a function
JavaScript error: https://coubsecureassets-a.akamaihd.net/assets/site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js, line 55395: TypeError: googletag.pubads is not a function



Icecat console says:
he video on this page can’t be played. Your system may not have the required video codecs for: video/mp4; codecs="avc1.64001f" coub.com
AbortError: The fetching process for the media resource was aborted by the user agent at the user's request. site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js:41183
Request to access cookie or storage on “https://coubsecure-s.akamaihd.net/get/b77/p/coub/simple/cw_f…2b603b8af/muted_mp4_med_size_1576249231_muted_med.mp4?mobile” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
2 coub.com
Request to access cookie or storage on “https://coubsecure-s.akamaihd.net/get/b205/p/coub/simple/cw_…f03385e6809/d79953b5d6a8065d88355/med_m4a_1576249232_med.m4a” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
coub.com
HTTP “Content-Type” of “video/mp4” is not supported. Load of media resource https://coubsecure-s.akamaihd.net/get/b77/p/coub/simple/cw_f…2b603b8af/muted_mp4_med_size_1576249231_muted_med.mp4?mobile failed. 2 coub.com
NotSupportedError: The media resource indicated by the src attribute or assigned media provider object was not suitable.
HTTP “Content-Type” of “audio/mp4” is not supported. Load of media resource https://coubsecure-s.akamaihd.net/get/b205/p/coub/simple/cw_…f03385e6809/d79953b5d6a8065d88355/med_m4a_1576249232_med.m4a failed. coub.com
Request to access cookie or storage on “https://coubsecure-s.akamaihd.net/get/b205/p/coub/simple/cw_…dio/f03385e6809/d79953b5d6a8065d88355/med_1576249232_med.mp3” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
coub.com
The video on this page can’t be played. Your system may not have the required video codecs for: video/mp4; codecs="avc1.64001f" coub.com
HTTP “Content-Type” of “audio/mpeg” is not supported. Load of media resource https://coubsecure-s.akamaihd.net/get/b205/p/coub/simple/cw_…dio/f03385e6809/d79953b5d6a8065d88355/med_1576249232_med.mp3 failed. coub.com
All candidate resources failed to load. Media load paused. coub.com
The video on this page can’t be played. Your system may not have the required video codecs for: video/mp4; codecs="avc1.64001f" coub.com
[googletag] reload site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js:55394:15
TypeError: googletag.pubads is not a function
site-b958a1e64d3db9f33ba277dc34d32a3d334e338bb81cf62fbc7f469c80a20fb6.js:55395:24
[Honeybadger] Unable to send error report: no API key has been configured.



December 26, 2019 6:10 PM, "Julien Lepiller" <julien@lepiller.eu> wrote:

> Le 26 décembre 2019 19:00:13 GMT+01:00, znavko@disroot.org a écrit :
> 
>> Hello! I've updated my system having now working Xfce4, this bug was
>> fixed: https://issues.guix.gnu.org/issue/37342
>> 
>> But now I cannot watch HTML5 videos in IceCat 68.3.0esr (64-bit), cause
>> it does not support one of formats video hosting is using.
>> It says: "In current time your browser does not support any of
>> available video formats."
>> 
>> All those extensions in Icecat are disabled, so LibreJS, LibrifyJS,
>> Searxes blocker - are disabled.
>> 
>> I have a question of how to use this part of the internet and work on
>> GNU Guix simultaneously.
> 
> Hi,
> 
> I think I and Mark fixed that just a few days ago. Maybe try to run guix pull and update your
> system or the profile icecat is coming from. Otherwise, can you send us a URL that does not work
> for you, so we can try and fix it?
> 
> Thank you!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-26 18:00 Watching HTML5 video on GNU Guix? znavko
                   ` (2 preceding siblings ...)
  2019-12-27  5:16 ` znavko
@ 2019-12-27  9:14 ` Alexei Drozdov
  3 siblings, 0 replies; 10+ messages in thread
From: Alexei Drozdov @ 2019-12-27  9:14 UTC (permalink / raw)
  To: help-guix

чт, 26 дек. 2019 г. в 21:00, <znavko@disroot.org>:

>
> All those extensions in Icecat are disabled, so LibreJS, LibrifyJS,
> Searxes blocker - are disabled.
>
> I have a question of how to use this part of the internet and work on GNU
> Guix simultaneously.
>

guix show icecat:

+ WARNING: IceCat 68 has not yet been released by the upstream IceCat
project.  This is a preview release, and
+ does not currently meet the privacy-respecting standards of the IceCat
project.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-27  5:16 ` znavko
@ 2019-12-28  4:23   ` Maxim Cournoyer
  2019-12-28  7:54     ` Julien Lepiller
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Maxim Cournoyer @ 2019-12-28  4:23 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

Hello Znavko,

znavko@disroot.org writes:

> ffmpeg was installed:
>

[...]

> Those two video are working (cause youtube had converted them, I think).
>
> 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.youtube.com/watch?v=9K26GI4C3uY
>
> $ icecat
> JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 1325: uncaught exception: 2147746065
> JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 94ms)
> JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 7ms)
> JavaScript warning: https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js, line 0: Successfully compiled asm.js code (total compilation time 2ms)
> console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://www.youtube.com"
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting.
> JavaScript warning: https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js, line 5359: Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled.
>
>
> Icecat console displays:
> Error: WebGL warning: getContext: Disallowing antialiased backbuffers due to blacklisting. base.js:5359:276
> Error: WebGL warning: <SetDimensions>: Failed to create WebGL context: WebGL is currently disabled. base.js:5359:276
> Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting canvas data because no user input was detected. base.js:2900:157
>
> and many ties this:
> Request to access cookie or storage on
> “https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDPtI4kQ5jl0Nq6M8f7wUF2sjlv6g”
> was blocked because we are blocking all third-party storage access
> requests and content blocking is enabled.

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

Anyway, the problem seems to have more to do with Youtube than HTML5
playback in Icecat.  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".  That didn't work for me, as my driver seems
blacklisted by Mozilla.  I tried force enabling it with suggestions from
this page [1] but your link would still wouldn't be happy with my WebGL
support.

HTH,

Maxim

[0]  https://tekeye.uk/html/html5-video-test-page
[1]  https://developer.mozilla.org/en-US/docs/Mozilla/QA/Graphics_Blocklisting

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-28  4:23   ` Maxim Cournoyer
@ 2019-12-28  7:54     ` Julien Lepiller
  2019-12-28 15:26     ` znavko
  2019-12-28 16:51     ` znavko
  2 siblings, 0 replies; 10+ messages in thread
From: Julien Lepiller @ 2019-12-28  7:54 UTC (permalink / raw)
  To: Maxim Cournoyer, znavko; +Cc: help-guix

Le 28 décembre 2019 05:23:18 GMT+01:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :
>Hello Znavko,
>
>znavko@disroot.org writes:
>
>> ffmpeg was installed:
>>
>
>[...]
>
>> Those two video are working (cause youtube had converted them, I
>think).
>>
>> 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.youtube.com/watch?v=9K26GI4C3uY
>>
>> $ icecat
>> JavaScript error: resource:///modules/sessionstore/SessionStore.jsm,
>line 1325: uncaught exception: 2147746065
>> JavaScript warning:
>https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>line 0: Successfully compiled asm.js code (total compilation time 94ms)
>> JavaScript warning:
>https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>line 0: Successfully compiled asm.js code (total compilation time 7ms)
>> JavaScript warning:
>https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>line 0: Successfully compiled asm.js code (total compilation time 2ms)
>> console.warn: LoginRecipes: "getRecipes: falling back to a
>synchronous message for:" "https://www.youtube.com"
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>backbuffers due to blacklisting.
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>WebGL context: WebGL is currently disabled.
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>backbuffers due to blacklisting.
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>WebGL context: WebGL is currently disabled.
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>backbuffers due to blacklisting.
>> JavaScript warning:
>https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>WebGL context: WebGL is currently disabled.
>>
>>
>> Icecat console displays:
>> Error: WebGL warning: getContext: Disallowing antialiased backbuffers
>due to blacklisting. base.js:5359:276
>> Error: WebGL warning: <SetDimensions>: Failed to create WebGL
>context: WebGL is currently disabled. base.js:5359:276
>> Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting
>canvas data because no user input was detected. base.js:2900:157
>>
>> and many ties this:
>> Request to access cookie or storage on
>>
>“https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDPtI4kQ5jl0Nq6M8f7wUF2sjlv6g”
>> was blocked because we are blocking all third-party storage access
>> requests and content blocking is enabled.
>
>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).
>
>Anyway, the problem seems to have more to do with Youtube than HTML5
>playback in Icecat.  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".  That didn't work for me, as my driver seems
>blacklisted by Mozilla.  I tried force enabling it with suggestions
>from
>this page [1] but your link would still wouldn't be happy with my WebGL
>support.
>
>HTH,
>
>Maxim
>
>[0]  https://tekeye.uk/html/html5-video-test-page
>[1] 
>https://developer.mozilla.org/en-US/docs/Mozilla/QA/Graphics_Blocklisting

It's not blacklisted, it's blocked by mozilla's sandbox pplicy. In about:config you can change an option named sandbox.readpath.whitelist or similar. Set it to /gnu/store/ (with a trailing / which means recursively) to allow access to the store, where icecat can find its webgl libraries. Then restart the browser.

We should add that by default (or something more restrictive) but I don't know how.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-28  4:23   ` Maxim Cournoyer
  2019-12-28  7:54     ` Julien Lepiller
@ 2019-12-28 15:26     ` znavko
  2019-12-28 16:51     ` znavko
  2 siblings, 0 replies; 10+ messages in thread
From: znavko @ 2019-12-28 15:26 UTC (permalink / raw)
  Cc: help-guix

Yes, it works now! Thank you!
I did this:
1) Icecat -> Preferences -> Privacy & Security tab -> Icecat-specific privacy settings -> checked option Enable WebGL
2) about:config -> search by 'whitelist' -> security.sandbox.content.read_path_whitelist -> added a value: /gnu/store/
3) after Icecat restart video works https://www.youtube.com/watch?v=9K26GI4C3uY

Thank you!

PS: 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 the authors way to gain much money. Sorry, while other free and secure projects just put on their shoes, youtube runs on the millions computers.


December 28, 2019 7:55 AM, "Julien Lepiller" <julien@lepiller.eu> wrote:

> Le 28 décembre 2019 05:23:18 GMT+01:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :
> 
>> Hello Znavko,
>> 
>> znavko@disroot.org writes:
>> 
>>> ffmpeg was installed:
>> 
>> [...]
>> 
>>> Those two video are working (cause youtube had converted them, I
>> 
>> think).
>>> 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.youtube.com/watch?v=9K26GI4C3uY
>>> 
>>> $ icecat
>>> JavaScript error: resource:///modules/sessionstore/SessionStore.jsm,
>> 
>> line 1325: uncaught exception: 2147746065
>>> JavaScript warning:
>> 
>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>> line 0: Successfully compiled asm.js code (total compilation time 94ms)
>>> JavaScript warning:
>> 
>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>> line 0: Successfully compiled asm.js code (total compilation time 7ms)
>>> JavaScript warning:
>> 
>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>> line 0: Successfully compiled asm.js code (total compilation time 2ms)
>>> console.warn: LoginRecipes: "getRecipes: falling back to a
>> 
>> synchronous message for:" "https://www.youtube.com"
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>> backbuffers due to blacklisting.
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>> WebGL context: WebGL is currently disabled.
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>> backbuffers due to blacklisting.
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>> WebGL context: WebGL is currently disabled.
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>> backbuffers due to blacklisting.
>>> JavaScript warning:
>> 
>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>> WebGL context: WebGL is currently disabled.
>>> Icecat console displays:
>>> Error: WebGL warning: getContext: Disallowing antialiased backbuffers
>> 
>> due to blacklisting. base.js:5359:276
>>> Error: WebGL warning: <SetDimensions>: Failed to create WebGL
>> 
>> context: WebGL is currently disabled. base.js:5359:276
>>> Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting
>> 
>> canvas data because no user input was detected. base.js:2900:157
>>> and many ties this:
>>> Request to access cookie or storage on
>> 
>> “https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDPtI4k
>> 5jl0Nq6M8f7wUF2sjlv6g”
>>> was blocked because we are blocking all third-party storage access
>>> requests and content blocking is enabled.
>> 
>> 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).
>> 
>> Anyway, the problem seems to have more to do with Youtube than HTML5
>> playback in Icecat. 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". That didn't work for me, as my driver seems
>> blacklisted by Mozilla. I tried force enabling it with suggestions
>> from
>> this page [1] but your link would still wouldn't be happy with my WebGL
>> support.
>> 
>> HTH,
>> 
>> Maxim
>> 
>> [0] https://tekeye.uk/html/html5-video-test-page
>> [1]
>> https://developer.mozilla.org/en-US/docs/Mozilla/QA/Graphics_Blocklisting
> 
> It's not blacklisted, it's blocked by mozilla's sandbox pplicy. In about:config you can change an
> option named sandbox.readpath.whitelist or similar. Set it to /gnu/store/ (with a trailing / which
> means recursively) to allow access to the store, where icecat can find its webgl libraries. Then
> restart the browser.
> 
> We should add that by default (or something more restrictive) but I don't know how.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-28  4:23   ` Maxim Cournoyer
  2019-12-28  7:54     ` Julien Lepiller
  2019-12-28 15:26     ` znavko
@ 2019-12-28 16:51     ` znavko
  2019-12-30  2:31       ` Maxim Cournoyer
  2 siblings, 1 reply; 10+ messages in thread
From: znavko @ 2019-12-28 16:51 UTC (permalink / raw)
  Cc: help-guix

Also I've installed qtwebgl maybe it is necessary too.

guix search webgl
name: qtwebglplugin
version: 5.12.6
outputs: out
systems: x86_64-linux i686-linux
dependencies: mesa@19.2.1 qtbase@5.12.6 qtdeclarative@5.12.6
+ qtwebsockets@5.12.6
location: gnu/packages/qt.scm:1040:2
homepage: https://www.qt.io/
license: LGPL 2.1, LGPL 3
synopsis: QPA plugin for running an application via a browser using streamed WebGL commands  
description: Qt back end that uses WebGL for rendering.  It allows Qt
+ applications (with some limitations) to run in a web browser that supports
+ WebGL.  WebGL is a JavaScript API for rendering 2D and 3D graphics within any
+ compatible web browser without the use of plug-ins.  The API is similar to
+ OpenGL ES 2.0 and can be used in HTML5 canvas elements
relevance: 13

hint: Run `guix search ... | less' to view all the results.

$ guix install qtwebglplugin
...


December 28, 2019 3:26 PM, znavko@disroot.org wrote:

> Yes, it works now! Thank you!
> I did this:
> 1) Icecat -> Preferences -> Privacy & Security tab -> Icecat-specific privacy settings -> checked
> option Enable WebGL
> 2) about:config -> search by 'whitelist' -> security.sandbox.content.read_path_whitelist -> added a
> value: /gnu/store/
> 3) after Icecat restart video works https://www.youtube.com/watch?v=9K26GI4C3uY
> 
> Thank you!
> 
> PS: 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
> the authors way to gain much money. Sorry, while other free and secure projects just put on their
> shoes, youtube runs on the millions computers.
> 
> December 28, 2019 7:55 AM, "Julien Lepiller" <julien@lepiller.eu> wrote:
> 
>> Le 28 décembre 2019 05:23:18 GMT+01:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :
>> 
>>> Hello Znavko,
>>> 
>>> znavko@disroot.org writes:
>> 
>> ffmpeg was installed:
>>> [...]
>> 
>> Those two video are working (cause youtube had converted them, I
>>> think).
>> 
>> 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.youtube.com/watch?v=9K26GI4C3uY
>> 
>> $ icecat
>> JavaScript error: resource:///modules/sessionstore/SessionStore.jsm,
>>> line 1325: uncaught exception: 2147746065
>> 
>> JavaScript warning:
>>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>>> line 0: Successfully compiled asm.js code (total compilation time 94ms)
>> 
>> JavaScript warning:
>>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>>> line 0: Successfully compiled asm.js code (total compilation time 7ms)
>> 
>> JavaScript warning:
>>> https://mail.disroot.org/rainloop/v/1.12.1/static/js/min/openpgp.min.js,
>>> line 0: Successfully compiled asm.js code (total compilation time 2ms)
>> 
>> console.warn: LoginRecipes: "getRecipes: falling back to a
>>> synchronous message for:" "https://www.youtube.com"
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>>> backbuffers due to blacklisting.
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>>> WebGL context: WebGL is currently disabled.
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>>> backbuffers due to blacklisting.
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>>> WebGL context: WebGL is currently disabled.
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: getContext: Disallowing antialiased
>>> backbuffers due to blacklisting.
>> 
>> JavaScript warning:
>>> https://www.youtube.com/yts/jsbin/player_ias-vfl22ubNH/ru_RU/base.js,
>>> line 5359: Error: WebGL warning: <SetDimensions>: Failed to create
>>> WebGL context: WebGL is currently disabled.
>> 
>> Icecat console displays:
>> Error: WebGL warning: getContext: Disallowing antialiased backbuffers
>>> due to blacklisting. base.js:5359:276
>> 
>> Error: WebGL warning: <SetDimensions>: Failed to create WebGL
>>> context: WebGL is currently disabled. base.js:5359:276
>> 
>> Blocked https://www.youtube.com/watch?v=9K26GI4C3uY from extracting
>>> canvas data because no user input was detected. base.js:2900:157
>> 
>> and many ties this:
>> Request to access cookie or storage on
>>> “https://i.ytimg.com/vi/sfw1IB58HYA/hqdefault.jpg?sqp=-oaymwE…qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLDPtI4k
>>> 5jl0Nq6M8f7wUF2sjlv6g”
>> 
>> was blocked because we are blocking all third-party storage access
>> requests and content blocking is enabled.
>>> 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).
>>> 
>>> Anyway, the problem seems to have more to do with Youtube than HTML5
>>> playback in Icecat. 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". That didn't work for me, as my driver seems
>>> blacklisted by Mozilla. I tried force enabling it with suggestions
>>> from
>>> this page [1] but your link would still wouldn't be happy with my WebGL
>>> support.
>>> 
>>> HTH,
>>> 
>>> Maxim
>>> 
>>> [0] https://tekeye.uk/html/html5-video-test-page
>>> [1]
>>> https://developer.mozilla.org/en-US/docs/Mozilla/QA/Graphics_Blocklisting
>> 
>> It's not blacklisted, it's blocked by mozilla's sandbox pplicy. In about:config you can change an
>> option named sandbox.readpath.whitelist or similar. Set it to /gnu/store/ (with a trailing / which
>> means recursively) to allow access to the store, where icecat can find its webgl libraries. Then
>> restart the browser.
>> 
>> We should add that by default (or something more restrictive) but I don't know how.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Watching HTML5 video on GNU Guix?
  2019-12-28 16:51     ` znavko
@ 2019-12-30  2:31       ` Maxim Cournoyer
  0 siblings, 0 replies; 10+ messages in thread
From: Maxim Cournoyer @ 2019-12-30  2:31 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

Hello Znavko,

I'm happy that Julien found the solution to your problem.

znavko@disroot.org writes:

> Also I've installed qtwebgl maybe it is necessary too.
>
> guix search webgl
> name: qtwebglplugin
> version: 5.12.6
> outputs: out
> systems: x86_64-linux i686-linux
> dependencies: mesa@19.2.1 qtbase@5.12.6 qtdeclarative@5.12.6
> + qtwebsockets@5.12.6
> location: gnu/packages/qt.scm:1040:2
> homepage: https://www.qt.io/
> license: LGPL 2.1, LGPL 3
> synopsis: QPA plugin for running an application via a browser using streamed WebGL commands  
> description: Qt back end that uses WebGL for rendering.  It allows Qt
> + applications (with some limitations) to run in a web browser that supports
> + WebGL.  WebGL is a JavaScript API for rendering 2D and 3D graphics within any
> + compatible web browser without the use of plug-ins.  The API is similar to
> + OpenGL ES 2.0 and can be used in HTML5 canvas elements
> relevance: 13
>
> hint: Run `guix search ... | less' to view all the results.
>
> $ guix install qtwebglplugin
> ...

This probably isn't useful.  It is a plugin for Qt, and Icecat does not
make use of Qt, AFAIK.

Maxim

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-12-30  2:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-26 18:00 Watching HTML5 video on GNU Guix? znavko
2019-12-26 18:04 ` Julien Lepiller
2019-12-26 18:24 ` Tobias Geerinckx-Rice
2019-12-27  5:16 ` znavko
2019-12-28  4:23   ` Maxim Cournoyer
2019-12-28  7:54     ` Julien Lepiller
2019-12-28 15:26     ` znavko
2019-12-28 16:51     ` znavko
2019-12-30  2:31       ` Maxim Cournoyer
2019-12-27  9:14 ` Alexei Drozdov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.