Mozilla has fixed a playback issue on YouTube that affected some Firefox users for several months.
Some Firefox users noticed playback issues on YouTube for several months. These affected high resolution videos only, from 1080p and up. To make matters worse, no clear pattern could be identified.
Some videos played fine, others would stop abruptly when they ran out of buffer.
Oh lol so that was it, yesterday all of a sudden 1440p and 4k videos were unwatchable, it was a stutter fest and thought something was wrong with my gpu.
Ya I've had this issue for months now, the video will freeze when the original 10 seconds of buffer is used, and it'll play fine if I skip another 10 seconds but just buffer indefinitely otherwise.
For an slightly better but still degraded experience they want you on Google Chrome. But remember please use 360p or lower so their poor servers don't have to work so hard, they even help you do this by default on mobile!
mpv? yt-dlp?
mpv is a media player, kind of like VLC but more powerful and lightweight.
yt-dlp is a CLI (command line interface) tool that allows you to download youtube videos as videos, videos without audio, or just as audio files.
Personally, I copy the url from the link or at worst the url bar after clicking into youtube.
Then 'mpv + [pasted url]' into a terminal (I use Yakuake as a quick terminal) and it's away quicker than youtube.com anyway.
mpv automagically invokes ytdl/yt-dlp if you have it installed on linux or if it's in the same directory as mpv or in a directory added to your windows search paths on windows. MacOS, just use a package manager like macports/homebrew.
It seems Netflix is able to detect that spoofing, and sends this error when trying to play videos, "Sorry, something went wrong. Please try again later.". I had to disable my add-ons one by one to identify that it was User Agent Switcher causing it.
Simple solution is to not pay Netflix and just pirate their content. They go out of their way to make the experience worse for paying customers on a regular basis. Sonarr+Jellyfin on an old computer with no video card and you've got a better Netflix where your content doesn't just magically disappear or fail to play on some devices.
The DRM module tells Netflix you are on Firefox. For Netflix I would use Chrome on Wine tbh, it now supports 1080p w/o extensions. Or maybe Chromium w/ ChromeOS' Widevine module + CrOS user agent.
When it all goes down, there's always the option of just downloading what you want to watch and watch it in your favorite media player. That's what I do on my phone since I refuse to watch ads and they make everything buffer. Hit the dl button and in under a minute i have the video downloaded in hd.
I solved a lot of performance issues I had with yt playback by disabling Ambient Mode (it's hidden under cog menu in the player). No clue why, but it was causing massve CPU usage.
For months I’ve had problems with YouTube videos in Firefox, at any resolution. They would play at really low FPS. Sometimes the player would pause and continue at the correct FPS, but usually not. Skipping backwards or forwards usually fixes it but not always. Another step in their monopoly to destroy competition.
"This problem is triggered by bad muxed VP9 bytestream served by Youtube, so it's not a regression on our side, this issue can also be reproduced on old versions Firefox".
I use Librewolf with Ublock and sponsorblock. Sometimes youtube video stops loading or keeps seeking 5-10 seconds forward. However, reloading the page helps. I don't have such problems when watching Youtube with mpv.
I have issues with YouTube playback specifically on my work laptop. At home it's fine. It just started one day where videos sometimes fail to auto play and requires multiple refreshes. Even once they get going they often stall out and the progress bar goes all the way back to the beginning so I've gotten in the habit of taking notes of the time before I hit refresh and hope it comes back before I completely lose all interest.
I'd use Piped instead, but it has literally never once worked for me. Videos never load.
Affected users might have blamed Firefox for the issue. Some may even have switched to a Chromium-based browser, as these worked without any issue.
I've been having issues with YouTube on Firefox for ages, not these issues, different ones. I haven't bothered to test if it's only Firefox that has the problem because I'm not using Firefox for a seamless experience, I'm using because why the fuck would I use anything else on Linux? I won't put google or ms into a Linux environment, even if I don't really care about privacy or whatever, it just feels like mixing oil and water.
Might use another browser like brave or whatever foss solutions are out there, but I'd be surprised if anything like that is better than Firefox.