• danEnglish
    arrow-up
    1
    arrow-down
    0
    ·
    29 days ago
    link
    fedilink

    On the web, it would not be possible.

    Why not?

    • VerPoiluEnglish
      arrow-up
      2
      arrow-down
      0
      ·
      28 days ago
      link
      fedilink

      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.
      • danEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        28 days ago
        link
        fedilink

        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?

        • VerPoiluEnglish
          arrow-up
          1
          arrow-down
          0
          ·
          28 days ago
          link
          fedilink

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