Open Korygauger opened 1 month ago
an added note: the miniplayer setting persists until you do a full refresh so I am assuming that it might have something to do with when the setting is applied. It seems like the setting is applied properly when you toggle the setting but it doesn't on the initialization of the extension. This is just my best guess though.
Before the latest update Fit to windows had stopped working on chromium browsers due to requiring use of trusted type policy, this is not required on non-chromium browsers like firefox. Latest update to the extension had fixed it for chromium browser but it does't work on firefox. I have a fix that could work but don't know how to test on firefox.
Checked the code, few hours ago fix has been added already.
alright @SabalM is there a way to add that now while I wait for next months update?
It would have been easy to do on chromium browsers. I'm not sure on firefox.
Piggybacking off this; so do we just have to wait for the next update for the fit to window feature to work on firefox?
by the way with the recent update fit to window is still not working due to a different error. svg is not defined.
this.createPlayerButton({
id: 'it-fit-to-win-player-button',
child: svg, // <- right here
opacity: 0.85,
position: "right",
onclick: function () {
this is on line 825 of player.js in the www.youtube.com directory of the repo
Bug Report:
The custom miniplayer is no longer working for some reason I can get it to work by toggling the setting for it but as soon as I refresh it stops working.
The Fit to Window button no longer shows up at all thus I can't even activate it. I assume it is working otherwise.
as for Fit to window it seems like it is a purely firefox issue I tried it on firefox base and mercury, not sure about other forks though. I imagine it is just install it on firefox activate the setting and see if it works.
firefox but tested on brave as said above.
F12
-key, thenconsole
-tab) yes so many here is a snippet: Uncaught ReferenceError: trustedTypes is not defined playerFitToWinButton moz-extension://2b114f85-8c7d-4280-b6af-1712801590ff/js&css/web-accessible/www.youtube.com/player.js:809 videoPageUpdate moz-extension://2b114f85-8c7d-4280-b6af-1712801590ff/js&css/web-accessible/functions.js:285clicking on the link for the error on the fit to window button brings me to this code snippet: line 804 in player.js
also brings me to line 285 in functions.js as well as line 140 in init.js
doesn't seem to be any errors pertaining to the miniplayer though.
doesn't matter if I am logged in or not.
I feel like the Fit to window bug should be relatively easy but I am sorry I couldn't be more help on the miniplayer.
OPTIONAL (usually): -->
⋮
-Hamburger menu > Settings > Backup & reset > Export settings (You can remove any Blocklist, History Analyzer data - or paste the following in the Browser-Console and hit enter:(function({analyzer, blocklist, ...a}){return JSON.stringify(a)})(ImprovedTube.storage)
) Uncaught ReferenceError: ImprovedTube is not definedF12
copy the whole root element: \ (alternative: CTRL+U) (https://github.com/code-charity/youtube/wiki/Contributing#Test )OS / Device: Linux Mint Desktop