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

This commit is contained in:
Tom Moor
2025-07-31 07:07:27 -04:00
committed by GitHub
parent 481adc6ecb
commit a4d59dfc88
+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" />,