this post was submitted on 12 Dec 2023
1193 points (96.6% liked)

Technology

58303 readers
15 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago (1 children)

I wish Piped worked for me, I was trying to watch a Linux tutorial in full HD to see the commands better and Piped just refused to buffer the video.

[–] [email protected] 8 points 11 months ago (1 children)

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.

[–] [email protected] 2 points 11 months ago (1 children)

Just redirect any watch page to https://redirect.invidious.io/watch?v=%ID% and you will get a list of instances. Can be setup with Redirector in a minute

[–] [email protected] 1 points 11 months ago (1 children)

Well, I just got Redirector last night to check it out and it took me some time to figure out how to get it to work right where I have https://youtube.com/watch?v=* redirecting to https://yewtu.be/watch?v=$1 in case there is something funky going on there that causes me to need to have that redirect active.

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

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!

[–] [email protected] 1 points 11 months ago (1 children)

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.

[–] [email protected] 1 points 11 months ago* (last edited 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: