Re:Show HN: YouTube banned adblockers so I built an extensio...
by eyegor on Saturday November 18, 2023 @10:21PM
(#38328371)
Wow, faststream works great for normal web players. Doesn't seem to work on any youtube videos when using the ff extension in the store though. Gets stuck loading forever.
[ Parent
| on HN ]
Re:Show HN: YouTube banned adblockers so I built an extensio...
by Andrews54757 on Saturday November 18, 2023 @10:25PM
(#38328408)
Seems like it is a Youtube.js problem. will investigate, doesn't happen on Chrome.
EDIT: It seems like Firefox has some special unsafe eval rule breaking dash.js
EDIT2: Problem was actually FF's sendMessage not toString()'ing URL objects. I've fixed it in V1.2.1 for FF (approval by mozilla pending)
EDIT3: V1.2.1 is available now
Re:Show HN: YouTube banned adblockers so I built an extensio...
by eyegor on Saturday November 18, 2023 @10:33PM
(#38328476)
Kind of unrelated, but how difficult do you think it would be to hack support for glsl shaders in a browser? I tried to look into it once, but got a bit lost in the media source side of things. My idea was to try to add glsl shaders as post processing to video streams like in mpv but without having to jump through all the hurdles of passing data to mpv.
Example of a shader I was playing with https://github.com/TianZerL/ACNetGLSL
Re:Show HN: YouTube banned adblockers so I built an extensio...
by Andrews54757 on Saturday November 18, 2023 @10:45PM
(#38328602)
Isn't GLSL already supported by WebGL?
Re:Show HN: YouTube banned adblockers so I built an extensio...
by eyegor on Saturday November 18, 2023 @11:09PM
(#38328828)
Yeah all the pieces are already there, but I was trying to make something like a player replacer that would let the user load arbitrary glsl shaders to use. The idea being to provide usable upscaling or filters for weak connections or old videos, correct shaky videos, etc. in real time.
I just found this for fsr [0] which might work for the upscaling use case.
[0] https://github.com/Hajime-san/web-fsr/tree/main/browser-exte...