forked from potsda.mn/mobilizon
add owncast to event meta data
This commit is contained in:
parent
4e7284b486
commit
324cf3e5e2
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue