![]() |
|
![]() |
| But I don’t want full screen, I want it to take up the full window that I have allocated to the browser, while still allowing me to multitask in other windows. |
![]() |
| These things are not optimized for what we prefer but for what leads us to behave in a way that maximizes a particular metric, for youtube it's global watch time. |
![]() |
| Google makes the web better for itself. Which is not the same as making it better for everyone else. After all, 77% of their revenue comes from online ads. |
![]() |
| No users = no clicks = no Google. Their incentive is to strike a balance between profiting off users and driving all the users away. I'm not commenting on whether they're getting it right. |
![]() |
| Unfortunately no, Google wants to maximize their profit, and they'll enshittify the web in that pursuit until it collapses. They have Android, they don't need the web to exist. |
![]() |
| The native |
![]() |
| Same here: While the difference in speed is noticeable, I would be surprised if it’s much more than 100ms on this specific machine (Safari, 1 year old laptop, Apple M2, macOS Sonoma). |
![]() |
| I remember when I worked at Automattic and discovered that the gist's heart emoji was actually served by WordPress and not GitHub. They fixed it within a few weeks, but it was like that for years... |
![]() |
| User side solution click 2 load for ublock users(note that chrome is transitioning to manifest v3 and might not work) is the following thanks to yokoffing/filterlists
https://raw.githubusercontent.com/yokoffing/filterlists/main...
(Betterfox creator, he has other useful filters on github)
|
![]() |
| If you have a small site or just don't want any requests to Google for privacy reasons, consider just straight-up downloading the video and embedding it in a video tag. There are yt_dlp wrappers for most popular languages (even js).
I'm pretty sure even embedding their poster thumbnail results in them getting your IP and other information so consider downloading that as well (from https://img.youtube.com/vi/[TAG]/hqdefault.jpg). |
![]() |
| I know it’s frowned upon and even in the guidelines, but I never understood why. This is Hacker News, the meta discussion on how a site works (or doesn’t) is as relevant and its content. |
![]() |
| > The Solution is to Replicate the Embed Experience Another Way.
No, the solution is to host your own videos and use a plain > Or link it from a CDN Pure insanity. |
![]() |
| The page is broken on ios/safari with text size not set to 100%
I don't usually care, but when you hand out advice to other sites and call your little text blog "Frontend-Masters", it better work. |
![]() |
| Are you serious? It's the primary use for a dictionary. And did you try ChatGPT? It suggested bananas heavy meant bananas are physically heavy because they are ripe. |
![]() |
| > And why they are not shared across different sites.
Cross site resources caching has been disabled in all major browsers for a few years now, because it was used for tracking. |
![]() |
| To put this into context, the player element might load 1.3 mb but loading a video can easily be in the range of 50 mb. |
![]() |
| Which is only relevant if 100% of users load the video every time they hit the page. Because the 50M is paid by those who watch the video while the 1.3M is paid by everyone opening the page. |
![]() |
| Why would you not use YoutubeLite for this? Just thumbnail loading then embed / play on click. You are reinventing the wheel for no reason. |
![]() |
| IMO YouTube embeds are a bad experience anyway, especially on mobile. Just put a poster image with a link to the actual YouTube video. |
![]() |
| Get the climate change activists involved. How many of these videos have to play before the wasted electricity is equivalent to a car running for a year? |
![]() |
| The carbon footprint of streaming video: fact-checking the headlines
https://www.iea.org/commentaries/the-carbon-footprint-of-str...
|
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.