Live data from Hacker News

YouTube slows down video load times when using Firefox

old.reddit.com

31–40 of 486 posts

Re: YouTube slows down video load times when using Firefox

#32

If you are fluent with the terminal, you don't need to suffer from the YT Web UI. Install mpv and yt-dlp. Play videos like this: mpv [--no-video] "https://www.youtube.com/watch?v=X9zVjEZ7W8Q" Option in brackets is optional.

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

Re: YouTube slows down video load times when using Firefox

#35

Earlier quoted context omitted.

Google, Samsung, Apple, and others have to abide by the same law, Microsoft isn't special. I also don't understand what this law has to do with the topic.

I support the enforcement of anti-trust laws against Microsoft, but I am at the same time puzzled at how much Google is allowed to get away with. They are simultaneously maintaining the biggest browser platform while also being the biggest content and advertisement provider, AND they have a major influence on the development of web standards, AND they control the development of a major OS (Android) for accessing the…

The law you're mentioning is the “Digital Markets Act”, and it's a new law that will apply to Google, Apple, Amazon, Samsung and others, not having to do with any enforcement of “antitrust” laws upon Microsoft.

https://commission.europa.eu/strategy-and-policy/priorities-...

Furthermore, are we talking about the same Microsoft that:

1. forced usage of Microsoft Edge, while also actively blocking circumvention mechanisms;

2. that keeps hijacking searches for Chrome, or Firefox;

3. that has telemetry in Edge that can't be disabled;

4. and that, upon first opening Edge, it asks you to agree to data sharing with the entire advertising industry?

---

You basically assert that Google is receiving preferential treatment from the EU, yet provided absolutely no evidence for it.

Re: YouTube slows down video load times when using Firefox

#38

From 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?

IMHO, this kind of things are not done by engineers.

    * Marketing/Sales asks engineers to add a feature flag to sleep N milliseconds for their research: "how slowing down impacts your revenue"
    * engineer adds a flag, with different control parameters
    * Some genius in Product figures this out and updates the experiment to slow down for competitors
When company gets a backlash from public: "oops, we forgot to clean up all parameters of feature flag and it accidentally impacted Firefox"

Re: YouTube slows down video load times when using Firefox

#39
I have a hard time believing that's actually what's happening. If they wanted to slow down other browsers, why would they choose this easily discoverable way? They could have easily slowed down serving of JS files (and other assets) based on the user agent to a similar effect. It seems more likely this is just a debug snippet that has made it into production by accident.

Re: YouTube slows down video load times when using Firefox

#40

I am not getting this behaviour in Firefox 120. Tried it, logged out as well. > setTimeout(function() { c(); a.resolve(1) }, 5E3); The code looks like a silly concurrency bug fix, i.e., a lazy way to force ordering.

Or potentially a concurrency bug trigger? "One in 1000 times X takes a bit too long and causes problem Y; I'll make X take minimum 5 seconds so I can trigger Y reliably." Then fixes Y but forgets to remove the delay.
Post reply on HN