Improves YouTube's theater mode with a Twitch.tv-like design, enhancing video and chat layouts while maintaining performance and compatibility.
< Feedback on Better YouTube Theater Mode
Hey, I'm unsure if I found the exact issue that you are having, but I did find and fixed a bug that occurred consistently with Firefox and Violentmonkey that caused script initialization to fail.
Please do try the new (v3.0.1) version of the script and provide feedback if you're willing.
So far 3.0.1 has been working for me :) I'm using tampermonkey btw, idk if that matters. Thanks for the fix, I'll let you know when I find any anomalies :)
Hey, I'm unsure if I found the exact issue that you are having, but I did find and fixed a bug that occurred consistently with Firefox and Violentmonkey that caused script initialization to fail.
Please do try the new (v3.0.1) version of the script and provide feedback if you're willing.
Hey just wanted to let you know that in the newest version of the script the problem seems to be back. 3.0.1 still works flawlessly.
I will look in this. It is most likely an entirely different issue based on what has and has not been changed. In the mean time, if v3.0.1 still works just keep using that, 3.0.2 is a very minor fix that should be identical in 99% of cases.
Try the new (v3.0.3) update. It could fix your issue (low chance).
If that doesn't work, could you go into more detail about what browser and script manager you are using, and what version they are?
I am unable to replicate your issue using default assumptions. It would be extremely unlikely for the exact same issue as before to recur.
My current hypothesis is that either your browser is super outdated and doesn't support newer JavaScript features (unlikely), or that you are using some kind of script manager that just happened to not work with the new compatibility layer I added (more likely). But neither would be testable without more information.
Try the new (v3.0.3) update. It could fix your issue (low chance).
If that doesn't work, could you go into more detail about what browser and script manager you are using, and what version they are?
I am unable to replicate your issue using default assumptions. It would be extremely unlikely for the exact same issue as before to recur.My current hypothesis is that either your browser is super outdated and doesn't support newer JavaScript features (unlikely), or that you are using some kind of script manager that just happened to not work with the new compatibility layer I added (more likely). But neither would be testable without more information.
I just updated to the newest version of the script. I am on Firefox version 146.0.1 (64-bit). I'm using tampermonkey BETA (I tried the stable version as well). I provided you a list of the scripts I have enabled. I will test the newest version of the script now and come back with results. I hope this info gives a bit of insight.
The problem still seems to be there. It happens very rarely oan browser restart. I am stumped.
Try v3.0.5. I fixed a subtle but impactful bug that seems to occur on the Firefox + Tampermonkey combo.
The bug would occasionally cause the script to fail applying style changes, including both the player height logic and the masthead toggle logic.
The bug seems to happen much more frequently on Tampermonkey BETA compared to Tampermonkey, and based on the nature of the bug I would assume the higher priority you give the script (i.e. running it in the first slot of your script manager) the more frequent the bug will occur.
If this is indeed the bug causing your issues, it was likely introduced back in v3.0.0 and never patched out, and is definitely different from the bug fixed in v3.0.1.
Forgive me I am not a coder. These were just my observations :) Would you recommend me to switch back to the stable version of tampermonkey? I just updated the script and will keep you posted about the results.
TLDR: Stay on Tampermonkey BETA.
Personally I do prefer script managers other than tampermonkey, but otherwise generally I do think Tampermonkey BETA is better than Tampermonkey stable. I think that this script having more issues with Tampermonkey BETA is a coincidence and not at all indicative of how good the script manager is.
Thanks for still working on it! On Firefox, when loading youtube for the first time sometimes moviePlayerHeight doesn't work until I refresh the page. It's only happening after starting up the browser and loading youtube for the first time. Not a big deal but I thought I'd report it.