🐞Video sometimes doesn't play.
Concise Description
This has happened a few times before. Sometimes, when I'm going to watch a video, it simply doesn't load. The first frame loads, but when I click play not even the loading circle is shown.
A workaround is refreshing the screen and clicking on the "x" to stop loading at just the right time, but then only the video loads and no other element of the UI.
Closing the page and reopening doesn't fix it. Closing the browser and reopening doesn't either.
The video that froze this time was this.
https://github.com/user-attachments/assets/26811098-be4c-4ad9-ac0c-3eb4ae41211f
Browser/s
Brave
Other Browser:
No response
'Steps to reproduce' - Which of our features is required for the bug to happen?
I'm not sure. I can send all my settings later.
Since when?
Since I downloaded the extension IIRC, which was a good while ago, maybe a year ago.
Does the bug still happen when you log out of YouTube?
Yes
..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)
No response
Are any errors or related log-messages shown in the Browser-Console? (F12)
No response
Tested as the only active extension? (incognito mode or another browser users):
Yes
Expected preferred behavior:
No response
ImprovedTube Version
No response
Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)
Your YouTube-Document
No response
OS / Device:
Linux Pop!_OS 22.04 LTS
Hello, I am new here, but I would like to help. I am quite decent in JavaScript/ and want to contribute. If I may, could you or the maintainers in the community please assign this issue to me? thank you
Looked at your JSON. Seems you have "playlist_autoplay" settings set to false and the video you are trying to watch is in a playlist according to what you've shown. You can toggle that in the "playlist" settings in the extension. Might be why it only happens sometimes for you. I also found that since brave sets videos to not auto play by default that it can sometimes mess with the playback with this extension, and I found adding a hotkey in the extension settings "shortcut" menu for the "toggle autoplay" option works for those instances. That's about the extent of my knowledge and what it might be. And if none of those work, then someone else here with more knowledge might be able to fix it. Cheers