-
-
Notifications
You must be signed in to change notification settings - Fork 201
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, do you have any solutions to clicking on a link within a browser? I have the same problem.
Beta Was this translation helpful? Give feedback.