feat: Berrycast embed support

This commit is contained in:
Tom Moor
2022-03-30 17:09:19 -07:00
parent 7216551164
commit 7f3b602259
3 changed files with 36 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import { EmbedDescriptor } from "@shared/editor/types";
import Image from "../components/Image";
import Abstract from "./Abstract";
import Airtable from "./Airtable";
import Berrycast from "./Berrycast";
import Bilibili from "./Bilibili";
import Cawemo from "./Cawemo";
import ClickUp from "./ClickUp";
@@ -86,6 +87,14 @@ const embeds: EmbedDescriptor[] = [
component: Airtable,
matcher: matcher(Airtable),
},
{
title: "Berrycast",
keywords: "video",
defaultHidden: true,
icon: () => <Img src="/images/berrycast.png" alt="Berrycast" />,
component: Berrycast,
matcher: matcher(Berrycast),
},
{
title: "Bilibili",
keywords: "video",