Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

YouTube URL opens video in FreeTube app #327

chriscjcj started this conversation in General
Discussion options

I'm close but not 100% there. When I click on a youtube.com or youtu.be link, I would like it to open in the FreeTube application. When I use the config below I can get FreeTube to launch when I go to a qualifying URL, but the video won't load.

{
 match: "https://youtu.be/*",
 url: { protocol: "youtube" },
 browser: "FreeTube",
}

Many thanks for any suggestions.

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

SOrry to bother everyone..... Fixed it.

{
 match: "https://youtu.be/*",
 url: { protocol: "https" },
 browser: "FreeTube",
}

Don't know what I was thinking. 🙄 This seems to work.

You must be logged in to vote
1 reply
Comment options

I worked with chat GPT to help me build a regular expression to cover all of YouTube's urls.

{
 match: /^https?:\/\/(?:[^\/\n\s]+\.)?(youtube\.com|youtu\.be)/,
 url: { protocol: "https" },
 browser: "FreeTube",
}

This works great for clicking links from outside of a browser. What I can't figure out is how to make FreeTube load the YouTube url if I'm clicking the link from within a browser.

Comment options

Hi, do you have any solutions to clicking on a link within a browser? I have the same problem.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /