From 324cf3e5e22657a4fbc4a63f2ff80f76faf1a6a3 Mon Sep 17 00:00:00 2001 From: allilengyi Date: Thu, 2 Jun 2022 22:14:34 +0200 Subject: [PATCH 1/3] add owncast to event meta data --- js/src/services/EventMetadata.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/js/src/services/EventMetadata.ts b/js/src/services/EventMetadata.ts index 6500173b..f7cd9435 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 live") 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", From 86fbcaff406e8da3cb53968c4a68218b394f62f6 Mon Sep 17 00:00:00 2001 From: allilengyi Date: Thu, 2 Jun 2022 23:14:02 +0200 Subject: [PATCH 2/3] fixed title of owncast meta data --- js/src/services/EventMetadata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/services/EventMetadata.ts b/js/src/services/EventMetadata.ts index f7cd9435..efe6f0ae 100644 --- a/js/src/services/EventMetadata.ts +++ b/js/src/services/EventMetadata.ts @@ -139,7 +139,7 @@ export const eventMetaDataList: IEventMetadataDescription[] = [ { icon: "mz:icon:owncast", key: "mz:live:owncast:url", - label: i18n.t("Owncast live") as string, + label: i18n.t("Owncast") as string, description: i18n.t( "The URL where the event can be watched live" ) as string, From f8efcc1d6380c5caee23d4311e3983f0df4d042d Mon Sep 17 00:00:00 2001 From: allilengyi Date: Tue, 7 Jun 2022 15:38:23 +0200 Subject: [PATCH 3/3] added owncast monochrome logo --- js/public/img/owncast_monochrome.svg | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 js/public/img/owncast_monochrome.svg diff --git a/js/public/img/owncast_monochrome.svg b/js/public/img/owncast_monochrome.svg new file mode 100644 index 00000000..2e9f802b --- /dev/null +++ b/js/public/img/owncast_monochrome.svg @@ -0,0 +1,88 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + +