fix: Loosen Tella.tv embed regex (#9779)

This commit is contained in:
Tom Moor authored and GitHub committed 2025-07-31 11:07:27 +00:00
1 parent 481adc6ecb
commit a4d59dfc88
1 file changed
+1 -1
+1 -1
View File
@@ -589,7 +589,7 @@ const embeds: EmbedDescriptor[] = [
new EmbedDescriptor({
title: "Tella",
keywords: "video",
regexMatch: [/^https?:\/\/(?:www\.)?tella\.tv\/video\/([a-z0-9]+)(.*)?$/],
regexMatch: [/^https?:\/\/(?:www\.)?tella\.tv\/video\/([^\/]+)(?:.*)?$/],
transformMatch: (matches: RegExpMatchArray) =>
`https://www.tella.tv/video/${matches[1]}/embed?b=0&title=1&a=0&loop=0&t=0&muted=0&wt=1`,
icon: <Img src="/images/tella.png" alt="Tella" />,