Re:YouTube embeds are bananas heavy and it’s fixable
by mindhunter on Sunday July 07, 2024 @10:00AM
(#40897800)
Do you also cache or proxy the thumbnail? Google can also track them when hotlinking it.
Re:YouTube embeds are bananas heavy and it’s fixable
by tczMUFlmoNk on Sunday July 07, 2024 @11:04AM
(#40898184)
GP says "proxied thumbnails", so it sounds like yes.
Re:YouTube embeds are bananas heavy and it’s fixable
by pier25 on Sunday July 07, 2024 @11:12AM
(#40898227)
Is there a similar solution for SoundCloud?
Their player is also super bloated.
Re:YouTube embeds are bananas heavy and it’s fixable
by diggan on Sunday July 07, 2024 @11:29AM
(#40898334)
You can basically do this with any embeds (granted they don't do a lot of global fuckery, which is a lot of them). Make sure the embed code gets evaluated within a function, then call that function when the user clicks on your "proxy" image. You might have to do a replace of the DOM elements as well, so the embed code gets what its expecting.
Re:YouTube embeds are bananas heavy and it’s fixable
by paulirish on Sunday July 07, 2024 @01:55PM
(#40899213)
There are a few "facade" solutions listed at https://developer.chrome.com/docs/lighthouse/performance/thi...
But.. AFAIK nobody has made one for Soundcloud.
Re:YouTube embeds are bananas heavy and it’s fixable
by btouellette on Sunday July 07, 2024 @12:35PM
(#40898681)
I've got a site that is basically infinite scroll of mostly YouTube, SoundCloud, and Reddit embeds and had to do this for YouTube for it to even be functional. Using the YouTube provided thumbnails though since I'm not too concerned about tracking.
Re:YouTube embeds are bananas heavy and it’s fixable
by BodyCulture on Sunday July 07, 2024 @04:34PM
(#40900260)
Please more respect for your users, as should be appropriate for a webmaster. If you personally do not mind tracking, OK, but please do respect that a visitor of your website might have different opinions. Thank you!
Re:YouTube embeds are bananas heavy and it’s fixable
by wbobeirne on Sunday July 07, 2024 @04:45PM
(#40900335)
Users are also capable of blocking traffic from their client if that's something they care about.
Re:YouTube embeds are bananas heavy and it’s fixable
by asimops on Sunday July 07, 2024 @07:01PM
(#40901223)
This is not something they should have to care about. And once you leave the tech savvy community then can not take care of it via content-blockers... You should do the correct thing by default, which is not supporting adtechs' psychological warfare agains the population imho.
Re:YouTube embeds are bananas heavy and it’s fixable
by griftrejection on Sunday July 07, 2024 @05:10PM
(#40900454)
And if you know that most of them don't, then you're still negligent. God, this pedantry is getting so incredibly old.
Re:YouTube embeds are bananas heavy and it’s fixable
by kordlessagain on Sunday July 07, 2024 @08:48PM
(#40901720)
While the practice of rotating usernames may seem trivial to some, it is imperative to acknowledge the profound implications this has on digital identity management. One must consider the intricate interplay between username entropy, mnemonic efficacy, and the psychological impact of nominal fluidity. Moreover, the cascading effects on database schemas, access control lists, and audit logs cannot be overstated. A truly rigorous approach would necessitate a comprehensive analysis of character set distribution, collision probabilities, and the sociological ramifications of identity mutability in online spaces. Perhaps we should convene a symposium to draft a 200-page whitepaper on best practices for username rotation protocols?
Re:YouTube embeds are bananas heavy and it’s fixable
by scrivna on Sunday July 07, 2024 @05:29PM
(#40900582)
It sounds like the users visiting this site are there to watch YouTube videos
Re:YouTube embeds are bananas heavy and it’s fixable
by seoulmetro on Sunday July 07, 2024 @08:34PM
(#40901650)
God this comment is obnoxious.
If a visitor has different opinions then they can implement their opinions. Webmaster didn't stop that.
Nearly every user won't care.
Just because one person in a thread shares a YouTube video doesn’t mean everyone else loading that page should have to download 1MB+ of YouTube’s JavaScript bloat and have their IPs tracked by google.