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

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