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

Technology

59201 readers
2732 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
[–] VerPoilu@sopuli.xyz 2 points 1 month ago* (last edited 1 month 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

[–] dan@upvote.au 1 points 1 month ago (1 children)

On the web, it would not be possible.

Why not?

[–] VerPoilu@sopuli.xyz 2 points 1 month 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.
[–] dan@upvote.au 1 points 1 month 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?

[–] VerPoilu@sopuli.xyz 1 points 1 month ago

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