Live data from Hacker News

YouTube slows down video load times when using Firefox

old.reddit.com

161–170 of 486 posts

Re: YouTube slows down video load times when using Firefox

#161

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

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

For the completeness, the omitted Uint8Array is the following 340-byte binary (here in base64):

    GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQRChYECGFOAZwH/////////FUmpZpkq17GD
    D0JATYCGQ2hyb21lV0GGQ2hyb21lFlSua6mup9eBAXPFh89gnOoYna+DgQFV7oEBhoVWX1ZQOOCK
    sIEBuoEBU8CBAR9DtnUB/////////+eBAKDMoaKBAAAAEAIAnQEqAQABAAvHCIWFiJmEiD+CAAwN
    YAD+5WoAdaGlpqPugQGlnhACAJ0BKgEAAQALxwiFhYiZhIg/ggAMDWAA/uh4AKC7oZiBA+kAsQEA
    LxH8ABgAMD/0DAAAAP7lagB1oZumme6BAaWUsQEALxH8ABgAMD/0DAAAAP7oeAD7gQCgvKGYgQfQ
    ALEBAC8R/AAYADA/9AwAAAD+5WoAdaGbppnugQGllLEBAC8R/AAYADA/9AwAAAD+6HgA+4ID6Q==
VLC somehow refuses to play it, but its nominal length can be verified with a short JS code like:

    v = document.createElement('video');
    v.src = `data:video/webm;base64,`;
    await new Promise(resolve => v.onloadedmetadata = resolve);
    console.log(v.duration);

Re: YouTube slows down video load times when using Firefox

#162

Earlier 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.

Blockers work with my throw away Google accounts that I use for this and that. So maybe it's restricted further still to very entrenched users.

Re: YouTube slows down video load times when using Firefox

#164

While the EU has recently forced Microsoft to allow users to uninstall pre-installed crapware, Google is apparently unhindered in their ongoing (and succeeding) mission to take control of all layers of the consumer-facing internet.

For now. Google is working on making a premium internet based on their services that permeate the whole web which they plan to serve only to "trusted devices" running Chrome - I do not think this is going to work out well for them.

What pisses me off about this is that people are such drones for The Google via GMail (mostly) that they don't question this since it works for them. Nevermind that Google is a user-hostile megacorp that will screw them as soon as it makes financial sense to do so.

Ever talk to someone random about Google's privacy bullshit and why Chrome is not a great browser? Nobody cares, and they think you're an idiot.

So, Google will carry on until it's too late.

Re: YouTube slows down video load times when using Firefox

#165

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?

You're mad that they're using a function for its intended purpose?

Re: YouTube slows down video load times when using Firefox

#166

Earlier quoted context omitted.

For now. Google is working on making a premium internet based on their services that permeate the whole web which they plan to serve only to "trusted devices" running Chrome - I do not think this is going to work out well for them.

I hope not, but they are certainly trying. I fear they have become an uncontrollable behemoth which have failed to identify alternative business models to their unsustainable ad business, and now they are trying to perform a major power grab to basically take over the web and force people to watch ads or pay.

I suspect that the SEO scam-industry will hit a wall on how far they can push their top-10 lists and advertising will no longer be worth it. Google search results are pretty bad now anyway, since you'll only ever find the sites that game the system.

Eventually users will realise this, and advertisers will see negative returns, and Google will lose money. But chances are they'll find another way to keep advertisers paying.

Re: YouTube slows down video load times when using Firefox

#167

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

How/When does that script get loaded? It’s not showing up in my network tab. Videos also load instant as usual.

Re: YouTube slows down video load times when using Firefox

#169

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?

It seems to be something which is randomly deployed. Not everybody gets the warning.

Re: YouTube slows down video load times when using Firefox

#170
Another "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 your audience. Please join peertube.

Post reply on HN