• VerPoilu
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day 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
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        24 hours ago

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