Live data from Hacker News

YouTube slows down video load times when using Firefox

old.reddit.com

361–370 of 486 posts

Re: YouTube slows down video load times when using Firefox

#361
post #219

I 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…

I use Firefox across Windows, Mac, OpenBSD, and Ubuntu. I've not seen any specific issues with Google sites at all. I only really use Docs, Maps, and Youtube with any regularity but I've not really seen any of these issues.

Yea, I also haven't noticed any speed issues, but I do use noscript exclusively on Firefox.

Re: YouTube slows down video load times when using Firefox

#363

Earlier 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)})}…

I couldn't reproduce the 5s wait in multiple scenarios in Firefox (various combinations of being logged in / not being logged in / without adblocker / with adblocker) and couldn't reproduce a 5s wait time in any of them, it played back immediately in each case (when without adblocker, using a second video to have one start without ad). I tested on Linux. What exact combination of circumstances is required to trigger…

I tested in Firefox (uBlock), LibreWolf (uBlock), Safari (AdGuard), and Chromium (no ad blocker), and the initial home page load takes a couple seconds, but I never witnessed a 5s delay. I would say it was actually fastest in Firefox for me, but that may have just been a result of some caching. I am a premium subscriber and have never seen a warning for using an ad blocker, so I'm not sure if premium subscribers get a pass.

Re: YouTube slows down video load times when using Firefox

#364
post #188

Earlier quoted context omitted.

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?

Speaking as someone who only very occasionally does browser related programming, what is the supposed sin committed here by implementing it this way?

For one, they didn't use React.

Re: YouTube slows down video load times when using Firefox

#365
post #360
post #356

Just being real here for a moment - Firefox probably wouldn't exist if Google didn't give them millions, so the continuing existence of Firefox is thanks at least in part to Google taking them on as a project. Now secondly, Firefox does have some very real performance bottlenecks that other browsers do not have. This means (and has been my experience already) that you can build experiences in all other browsers that…

I don't like to jump to conclusions, but I'm going to jump to malice if their purported solution for user experience is time.sleep(5) based on a user agent lookup, and conditional on when their antiadblock fails to work.

Evidence for your claims?

Re: YouTube slows down video load times when using Firefox

#366

Earlier quoted context omitted.

To my not-a-lawyer understanding, it is fraudulent. Fine print is allowed to clarify an offer, but may not substantially alter the offer as originally made. I could see an argument made that a reasonable person would know an offer to be limited to supported platforms, and that the fine print clarifies which platforms are supported. To me, though, I’d draw a line between unsupported due to underlying limitations (e.g.…

Even if it doesn't technically apply here, the larger point remains that people get handcuffs and corporations get handshakes...

Same deal with deferred prosecutions which is a bullshit designation because the company's legal is basically going to ensure that it becomes a nolle prosequi at that point

Re: YouTube slows down video load times when using Firefox

#367
post #219

I 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…

I had the same Gmaps issue, I disabled LocalCDN for the site and panning etc worked again. Apparently the addon must be fixed to account for whatever they were doing.

Re: YouTube slows down video load times when using Firefox

#368

Earlier quoted context omitted.

I think you’re missing the point. How can I browse Youtube in mpv?

What do you mean by "browsing" Youtube? Clicking new links for the purpose of entertainment? My post was only about playing videos.

[dead]

Re: YouTube slows down video load times when using Firefox

#369
post #203

Earlier quoted context omitted.

Because 5E3 is shorter than 5000, just like you can often see !0 to get "true" in minimize code because it saves two characters.

In js I thought 1==true, and 1 is shorter than !0 ?? Never seen the use of exponential notation for numbers in js though (not a surprise, I'm not really a programmer), it seems sensible to me from the point of shifting the domain from ms to seconds.

!0 === true, but 1 !== true. I don't recall ever needing the strict comparison, but it seems to tickle the fancy of most js programmers.

Re: YouTube slows down video load times when using Firefox

#370
post #219

I 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…

It's clear Google is only testing for chrome engine and safari: which comprise 97% of the browsers being used. Would you increase your testing by 50% to thoroughly test for 3% of the market?

Isn't that a good deal? 50% more testing in a way that can surely be parallelized to some extent does not seem a very steep price at youtube scale.
Post reply on HN