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
    ·
    edit-2
    24 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
      link
      fedilink
      arrow-up
      2
      ·
      15 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.

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

        I mean sure, but “to get the preview to work” means I have to globally unblock google.com and youtube.com which means all sites can track me at that point which I am not willing to accept. I think you have those two domains not blocked? Otherwise I don’t see how it could work, no matter if you use the “embedded option” in libredirect or not.

        Thanks for testing it!