I've recently done a pc upgrade and am now enjoying 64 gigs of ram. Decided to watch a live stream on youtube this weekend. Firefox: 22 GB of ram usage for the youtube tab after ~15 minutes. Tab became unresponsive. Edge: Out of memory error after ~5 minutes. Chrome: working fine, the youtube tab sitting peacefully ay 400-600 MB.
YouTube slows down video load times when using Firefox
181–190 of 486 posts
Re: YouTube slows down video load times when using Firefox
#182Re: YouTube slows down video load times when using Firefox
#183Re: YouTube slows down video load times when using Firefox
#184Earlier quoted context omitted.
[flagged]
How come switching to User Agent to Chrome fixed it for that Reddit OP? Does it omit this if UA is changed?
Re: YouTube slows down video load times when using Firefox
#185And yes, am guilty too of committing this to prod back then. I think I haven't had a case where this was deployed in the last decade, but in the ugly SPA days pre angular v1 (and even during angular v1), where you code was this big glued-together conglomerate of various 3rd party UI libraries, this was common. Its ugly as hell, and you really had to be there at that time to understand this. But often it was just a cheap alternative, while debugging and fixing the truly underlying cause would be several man-days or even weeks.
My point being: It might have slipped their QA cracks and was at some point intended to workaround a bug of some obscure Firefox behavior. For a company at youtube's scale this is however pretty embarrassing.
Re: YouTube slows down video load times when using Firefox
#186Another "Youtube is doing shit" thread and yet not a single mention of Peertube. https://joinpeertube.org/en So for all people uploading videos, please have a look at Peertube. It is to Youtube what Mastodon is to Twitter. (and more: it is compatible with Mastodon, one can subscribe to your Peertube channel through his/her mastodon account). I’m not arguing to leave Youtube completely but to offer an alternative to y…
Re: YouTube slows down video load times when using Firefox
#187Earlier quoted context omitted.
I still use adblockers perfectly fine on Youtube. There was never a real interruption in adblocking either. You just need ublock origin + bypass paywalls.
I think they only disabled adblockers to logged users probably because non logged users don't have to agree to terms of services.
Re: YouTube slows down video load times when using Firefox
#188From reddit discussion ( https://www.reddit.com/r/firefox/comments/17ywbjj/comment/k9... ): > To clarify it more, it's simply this code in their polymer script link: > setTimeout(function() { c(); a.resolve(1) }, 5E3); > which doesn't do anything except making you wait 5s (5E3 = 5000ms = 5s). You can search for it easily in https://www.youtube.com/s/desktop/96766c85/jsbin/desktop_pol...
I'm not even mad about Google making my artificially wait 5s for using firefox. I'm mad that such a big company with suposelly decent engineers, are making me wait 5s with literally a sleep, how is even possible to do such thing in such a rudimentary way? I would be like damn that was smart, this feels like, seriously this is the level?
Re: YouTube slows down video load times when using Firefox
#189Re: YouTube slows down video load times when using Firefox
#190Earlier quoted context omitted.
That is not correct. The surrounding code gives some more context: h=document.createElement("video");l=new Blob([new Uint8Array([/* snip */])],{type:"video/webm"}); h.src=lc(Mia(l));h.ontimeupdate=function(){c();a.resolve(0)}; e.appendChild(h);h.classList.add("html5-main-video");setTimeout(function(){e.classList.add("ad-interrupting")},200); setTimeout(function(){c();a.resolve(1)},5E3); return m.return(a.promise)})}…
Why is it only trying to detect ads when the user agent is Firefox? https://old.reddit.com/r/firefox/comments/17zdpkl/this_behav...