Hi all,

I use ublock origin in medium blocking mode which blocks a lot of urls by default, google / youtube included. For the longest time I have to unblock, google.com, googlestatic.com, youtube.com (and usually some more) every time I want to watch an embedded video.

I don’t use the youtube website in general, I use freetube for all my youtube watching. Libredirect even opens direct youtube links in freetube but it can’t handle embedded videos (at least not in a way without unblocking the urls before).

The best solution would be a userscript or extension that replaces all embedded youtube videos with links I can click to open them in freetube. I was surprised I couldn’t find something like this. Does anybody know about a solution?

*EDIT: I found a a way to make embedded youtube videos clickable: https://xcancel.com/gorhill/status/1377613397710229506#m

This is straight from the ublock origin developers. Sadly even in this case you have to globally unblock youtube.com and google.com which is a no go for me.

Cheers

  • Tundra
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    Can’t you set Libredirect to embed videos?

    • mnmalst@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      Not directly. If I select embedded in libredirect it uses invidious and for that to work I have to unblock the urls as well.

        • mnmalst@lemmy.zipOP
          link
          fedilink
          arrow-up
          1
          ·
          9 hours ago

          That’s what I am doing but it doesn’t work for EMBEDDED, which is the point of this post.

          • noorbeast@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            What browser are you using and can you please post a site with embedding that does not work for you.

            I have Librewolf, Ublock set to medium mode, libredirect Redirect Type set to both, Embed Frontend set to Invidious but with no instance selected.

            Most sites with embedded youtube have ‘Watch on Youtube’ bottom left and you can just right click and select Redirect in librediract. Some don’t have that but most allow right click where you can select the url that can be pasted into FreeTube.

          • birdcat
            link
            fedilink
            arrow-up
            1
            ·
            9 hours ago

            doesn’t work I think. block embedded stuff and make it so that when you click on the placeholder, it opens FreeTube

            • mnmalst@lemmy.zipOP
              link
              fedilink
              arrow-up
              1
              ·
              8 hours ago

              That’s what I want to do and was my initial question. How do I do that with medium mode enabled?