920
submitted 2 months ago* (last edited 2 months ago) by mesamunefire@lemmy.world to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] RmDebArc_5@sh.itjust.works 16 points 2 months ago
[-] VerPoilu@sopuli.xyz 2 points 2 months ago* (last edited 2 months ago)

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 2 months ago

On the web, it would not be possible.

Why not?

[-] VerPoilu@sopuli.xyz 2 points 2 months ago

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 2 months ago

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 2 months ago

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 17 Sep 2024
920 points (99.6% liked)

Technology

59436 readers
2527 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