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

    • mnmalst@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      20 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
          ·
          19 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
            ·
            16 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.

            • mnmalst@lemmy.zipOP
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              15 hours ago

              Hey, thanks for the reply.

              I have exactly the same setup as you, I also use librewolf and all sites that have embedded youtube (or any embedded video) don’t work.

              This one for example: https://www.androidauthority.com/hands-on-one-ui-7-home-up-3522949/

              With medium mode enabled I just have a white space in the middle of the article. When I manually allow “youtube.com” and “google.com” the video loads.

              Do you get a different behavior?

              • irotsoma@lemmy.blahaj.zone
                link
                fedilink
                arrow-up
                1
                ·
                6 hours ago

                I have it set up with “only not embedded” and then I let the preview load and click on the YouTube link to make it pop out and it redirects to Invidious and works. Not directly watching it embedded, but it works well enough for me. I just tested this site on my phone and it worked. Should work on desktop similarly. Just with this you have to get to the point where it loads the preview of the video at least, so you can click to open it outside of the embed.

                I use librewolf on desktop and IronWolf on mobile with the libredirect plugin. And I have a pihole that does ad blocking, so eventhough I don’t have YouTube totally blocked, it refuses to play even with a wide open browser.

                I’ve never gotten the embedded option to work, but Google is constantly fighting Invidious, and pop-out is a minor inconvenience for me.

          • birdcat@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            18 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
              ·
              18 hours ago

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