ActivityPub-federated video streaming platform using P2P directly in your web browser
Add go-live example for plugin form fields
Chocobozzz87e0b71d36ae
diff --git a/shared/models/plugins/register-client-form-field.model.ts b/shared/models/plugins/register-client-form-field.model.tsindex cdcdaa181d..db61dbc886 100644--- a/shared/models/plugins/register-client-form-field.model.ts+++ b/shared/models/plugins/register-client-form-field.model.ts@@ -16,5 +16,5 @@ export type RegisterClientFormFieldOptions = {}export interface RegisterClientVideoFieldOptions {- type: 'import-url' | 'import-torrent' | 'update' | 'upload'+ type: 'update' | 'upload' | 'import-url' | 'import-torrent' | 'go-live'}diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.mdindex a90f8e72b2..ca951c781d 100644--- a/support/doc/plugins/guide.md+++ b/support/doc/plugins/guide.md@@ -626,7 +626,7 @@ async function register ({ registerVideoField, peertubeHelpers }) {default: ''}- for (const type of [ 'upload', 'import-url', 'import-torrent', 'update' ]) {+ for (const type of [ 'upload', 'import-url', 'import-torrent', 'update', 'go-live' ]) {registerVideoField(commonOptions, { type })}}