this post was submitted on 17 Sep 2024
893 points (99.6% liked)

Technology

58115 readers
4389 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

Fair enough, that's interesting. I assume this only applies to the non-web clients. On the web, it would not be possible. You can verify by looking at the outgoing network requests on this random video for example: https://invidious.privacyredirect.com/watch?v=qKMcKQCQxxI

[–] [email protected] 1 points 1 day ago (1 children)

On the web, it would not be possible.

Why not?

[–] [email protected] 2 points 1 day ago (1 children)

Because of the CORS settings on Google's servers would tell your browser to not go forward with the request. There are two ways it could eventually be possible:

  • By opening the video in a new page/tab that only contains the video, with the YouTube player, which defeats the purpose a bit.
  • By installing an addon or an app on your device.
[–] [email protected] 1 points 1 day ago (1 children)

I haven't checked the CORS headers for YouTube videos but wouldn't access have to be fairly open to allow embedded videos to work?

[–] [email protected] 1 points 19 hours ago

For that they use iframes, which have a different security system.