YouTube slows down video load times when using Firefox
301–310 of 486 posts
Re: YouTube slows down video load times when using Firefox
#302setTimeout(function() { c(); a.resolve(1) }, 5E3); The actual code. They went and actually hardcoded a 5 second delay.
Re: YouTube slows down video load times when using Firefox
#303From 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...
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)})}…
What exact combination of circumstances is required to trigger the multi second wait time?
Re: YouTube slows down video load times when using Firefox
#304From 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
#305Another "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…
YouTube's market hold is unfortunately circular; no uploader on the platform will risk splitting their audience to a platform nobody goes to, and because of that, new platforms are unable to grow. That aside: I also doubt most peertube instances can withstand the bandwidth costs of seriously hosting a few moderately succesful YouTube channels.
cough nebula cough
Re: YouTube slows down video load times when using Firefox
#306Earlier quoted context omitted.
Firefox has a small userbase partly because of the early "oopses" described in the article I linked. Those happened a while ago, when Firefox had more users than Chrome.
Chrome was bigger than Firefox by 2012, the accusations that Google intentionally made things worse for Firefox came many years after that.
Google have been disgustingly anticompetitive for a very, very long time at this point.
Re: YouTube slows down video load times when using Firefox
#307Re: YouTube slows down video load times when using Firefox
#308Oh, and they also falsely show "4K" in the video quality icon, but "accidentally" play a 720p or even worse quality stream. If you manually select the 4K stream quality, then and only then will YouTube deign to show 4K to you.
Re: YouTube slows down video load times when using Firefox
#309Surely this is straight to court for anti-competitive behaviour?
Re: YouTube slows down video load times when using Firefox
#310I use Firefox, and Google's sites are literally the only ones where I consistently have issues. There was a period of about a month this summer where Google Maps was just completely broken for me, the map wouldn't update at all when attempting to search or pan. There was recently a several day span where chat in Gmail had a 10+ second input lag due to some font-related JavaScript code spinning the CPU nonstop. It's l…