mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
feat: Add support for Tella.tv embed mapping (#9775)
* feat: Add support for Tella.tv embed mapping * Optimised images with calibre/image-actions --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -586,6 +586,16 @@ const embeds: EmbedDescriptor[] = [
|
||||
icon: <Img src="/images/spotify.png" alt="Spotify" />,
|
||||
component: Spotify,
|
||||
}),
|
||||
new EmbedDescriptor({
|
||||
title: "Tella",
|
||||
keywords: "video",
|
||||
regexMatch: [/^https?:\/\/(?:www\.)?tella\.tv\/video\/([a-z0-9]+)(.*)?$/],
|
||||
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" />,
|
||||
defaultHidden: true,
|
||||
hideToolbar: true,
|
||||
}),
|
||||
new EmbedDescriptor({
|
||||
title: "Tldraw",
|
||||
keywords: "draw schematics diagrams",
|
||||
|
||||
Reference in New Issue
Block a user