Live data from Hacker News

YouTube slows down video load times when using Firefox

old.reddit.com

311–320 of 486 posts

Re: YouTube slows down video load times when using Firefox

#311

Earlier quoted context omitted.

I think this is a good example of corporations being made up of people, rather than being contiguous coordinated entities as many of us sometimes think of them. An engineer doing "good engineering" on a feature typically depends not only on them being a "good engineer" but also on them having some actual interest in implementing that feature.

I would imagine that in a well coordinated company engaging in this kind of thing, the order wouldn't be "slow down firefox", but something along the lines of "use XYZ feature that firefox doesn't support and then use this polyfill for FF, which happens to be slow". Something that doesn't look too incriminating during any potential discovery process, while still getting you what you want.

That's assuming a degree of engineering competency at the product decision making level that is usually absent in companies that are structured as Google is, with pretty strong demarcations of competencies across teams.

Re: YouTube slows down video load times when using Firefox

#312
post #188

Earlier quoted context omitted.

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

In programming in general, sleeps are generally considered....(I'm lacking the word)...distasteful? If your code needs to wait for something, it's better done with some sort of event system or interrupt or similar; the reason being that a 5s wait is a 5s wait, but if, say the thing you're waiting for returned in 10ms, if you're using an alternative solution you can carry on immediately, not wait the remaining 4.99 se…

Sure, but assuming we take it as face value that this is a straightforward attempt to force a UX-destroying delay, I don't see what makes this so terrible. It's meant to force a 5 second wait, and it does it. Problem solved.

Re: YouTube slows down video load times when using Firefox

#313
post #49

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.

This is the way. I really don't understand why any technically proficient user would willingly use any of the official YouTube frontends. You get bombarded with ads, you're constantly tracked and experimented on, and your behavior is used to improve their algorithms in order to keep you on the site for as long as possible. It's a hostile user experience, just like most of the mainstream web. Whenever possible, I sugg…

The web frontend just works. The other frontends tend to have issues, which even if they're not deal-breakers are annoying. I won't put ideology over using what works best. And clicking a link, then clicking play, beats copying the URL then pasting it into a command line.

Of course this only works because by default (since I have an ad blocker anyways) I don't get bombarded with ads on the web frontend, and so far I've seen the adblocker nag screen once (a failure which uBlock Origin seems to have swiftly corrected).

Re: YouTube slows down video load times when using Firefox

#314

Oh, 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.

I haven't see this other than for brief periods during quality switching (it seems to play out the current buffer in lower quality but new chunks are downloaded at the displayed target quality). However for some reason it does often just load at a very low (sub-720p) resolution and I need to manually up the quality or it will never get to the highest quality (I'm watching on a 4k monitor with great internet and hardw…

I remember them starting to do automatic lower-quality streams when this came out[0], but I'm not sure if this is still the cause for the situation. It could be a general "we see this ISP/ASN failing more often with x many concurrent 4k streams, let's throw some people on 720p and see if it helps".

0: https://www.pcworld.com/article/398929/youtube-defaults-to-l...

Re: YouTube slows down video load times when using Firefox

#315
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?

_I_ would in their shoes because I'm not just in it for the money and I care about the craft.

But clearly I am not them. :-) Mathematically it doesn't make sense for Google. It might make sense from an anti-trust perspective...

Re: YouTube slows down video load times when using Firefox

#316

Using firefox I get "instant" youtube. The video starts playing before most of the rest of the UI has loaded even, definitely under 1 second. Any idea what specifically causes it to happen, rather than just "firefox"?

I've gotten that really slow UI loading almost always lately and I've always assumed that it's because I'm running uBlock Origin.

Although I just tried opening two videos and both opened basically instantly.

Re: YouTube slows down video load times when using Firefox

#317

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 can't reproduce this either. YT on FF plays immediately for me

Re: YouTube slows down video load times when using Firefox

#318
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…

Recently, play store images don't load (about 60% - 80% missing per app) in Firefox.

It is fascinating, how the simplest things on websites can be made arbitrarily involved, convoluted, over-complicated. And how those over-complications can then serve as a credible deniability.

Re: YouTube slows down video load times when using Firefox

#319

Earlier quoted context omitted.

When I ran into the adblocker-blocker (Firefox + uBlock Origin), I noticed that I could watch videos if logged out. So I just stayed logged out, and haven't seen an anti-adblock message since. Or an ad. Added bonus, I'm less tempted to venture into the comments section...

I'm using Firefox + uBlock Origin logged in and it works totally fine. Maybe Youtube removed the anti-adblocker on select accounts? I remember I once entertained myself with writing a report in which I sounded like I'm sitting in a retirement home and have no clue what's going on with "ad block." Did perhaps someone actually read this?

Same here . No problem with anti Adblock. It was shown twice to me and I googled „YouTube alternatives“ then tried Vimeo and it was nice. Maybe they did register this ? :D

Re: YouTube slows down video load times when using Firefox

#320
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?

In most companies, when 3% represents an in-fact huge number because you have a very successful product, you absolutely do test for that 3%.

It’s tiny companies that may ignore 3% as too expensive to worry about.

Post reply on HN