X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Ftypes%2Fmanager-options.ts;h=3fbcec29c79621f115ddceb9c66c03d0a5d52dd1;hb=8ca52bcc2c37d457e8b19a237c66b8dd1c00b6b9;hp=456ef115ef9a6a712c6237e5e3ac44fe408f4c15;hpb=384ba8b77a8e4805c099f5ea12b41c2ca5776e26;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/assets/player/types/manager-options.ts b/client/src/assets/player/types/manager-options.ts index 456ef115e..3fbcec29c 100644 --- a/client/src/assets/player/types/manager-options.ts +++ b/client/src/assets/player/types/manager-options.ts @@ -21,12 +21,16 @@ export interface CustomizationOptions { stopTime: number | string controls?: boolean + controlBar?: boolean + muted?: boolean loop?: boolean subtitle?: string resume?: string peertubeLink: boolean + + playbackRate?: number | string } export interface CommonOptions extends CustomizationOptions { @@ -34,6 +38,8 @@ export interface CommonOptions extends CustomizationOptions { onPlayerElementChange: (element: HTMLVideoElement) => void autoplay: boolean + forceAutoplay: boolean + p2pEnabled: boolean nextVideo?: () => void @@ -49,11 +55,15 @@ export interface CommonOptions extends CustomizationOptions { inactivityTimeout: number poster: string + instanceName: string + theaterButton: boolean captions: boolean videoViewUrl: string - authorizationHeader?: string + authorizationHeader?: () => string + + metricsUrl: string embedUrl: string embedTitle: string @@ -71,6 +81,8 @@ export interface CommonOptions extends CustomizationOptions { videoShortUUID: string serverUrl: string + requiresAuth: boolean + videoFileToken: () => string errorNotifier: (message: string) => void }