• Lorgres@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    There are other alternatives too, like invidious. The yewtu.be instance works decently well for me but limits to 720p I think. There is a list of all running instances somewhere on the github iirc. There’s other instances that allow full HD, just have a search and you should be able to find one.

        • Karyoplasma@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          My YouTube redirect rule is a bit more complex, but works for all shorts, youtu.be and regular youtube links and it supports time stamps and videos that are part of a playlist.

          Set the rule to regular expression, use this one

          (?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|shorts\/)|youtu\.be\/)([^&?\/]+[&?]?.*)

          remove the two “amp;” at the end (Lemmy formatting is bad, it replaces an ampersand with & even if you tell it not to…) and redirect to https://%yourinstanceofchoice%/watch?v=$1

          Enjoy!

          • Konala Koala@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months ago

            Okay, what I was trying to do with Redirector is have it so I can search and browse videos on YouTube, but when I click on something that I want to watch, it forwards me to the same video on YewTu.be instead.

            • Karyoplasma@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              11 months ago

              That’s exactly what this is doing. It captures all youtube.com/watch, youtube.com/shorts and youtu.be/ pages and redirects then to the same page on invidious. Just replace %yourinstanceofchoice% with yewtu.be.

              If you don’t open videos you want to watch in a new tab, you also have to go to Advanced Options in your rule and tick “HistoryState” else it will bypass the redirect.

              This should work for you: