diff --git a/js/public/img/owncast_monochrome.svg b/js/public/img/owncast_monochrome.svg new file mode 100644 index 000000000..2e9f802b2 --- /dev/null +++ b/js/public/img/owncast_monochrome.svg @@ -0,0 +1,88 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/js/src/services/EventMetadata.ts b/js/src/services/EventMetadata.ts index 6500173b9..efe6f0ae5 100644 --- a/js/src/services/EventMetadata.ts +++ b/js/src/services/EventMetadata.ts @@ -136,6 +136,19 @@ export const eventMetaDataList: IEventMetadataDescription[] = [ /http(?:s?):\/\/(?:www\.)?youtu(?:be\.com\/watch\?v=|\.be\/)([\w\-_]*)(&(amp;)?‌[\w?‌=]*)?/, category: EventMetadataCategories.LIVE, }, + { + icon: "mz:icon:owncast", + key: "mz:live:owncast:url", + label: i18n.t("Owncast") as string, + description: i18n.t( + "The URL where the event can be watched live" + ) as string, + value: "", + type: EventMetadataType.STRING, + keyType: EventMetadataKeyType.URL, + pattern: /^https?:\/\/(([^/.]+)\.)+([a-z]+)\/?/, + category: EventMetadataCategories.LIVE, + }, { icon: "calendar-check", key: "mz:poll:framadate:url",