• danA
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    On the web, it would not be possible.

    Why not?

    • VerPoilu@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 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.
      • danA
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 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?