X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fplayer%2Fdefinitions.ts;h=495f1a98ce2b6877d7824bb3e49a16e7fc58a064;hb=fa1f8915dea4bc4ffc69ca98987a06cac01e9c46;hp=afd10541bbf311a02a34777b2d215c172aa07532;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/player/definitions.ts b/client/src/standalone/player/definitions.ts index afd10541b..495f1a98c 100644 --- a/client/src/standalone/player/definitions.ts +++ b/client/src/standalone/player/definitions.ts @@ -4,11 +4,22 @@ export type PlayerEventType = 'pause' | 'play' | 'playbackStatusUpdate' | 'playbackStatusChange' | - 'resolutionUpdate' + 'resolutionUpdate' | + 'volumeChange' export interface PeerTubeResolution { id: any label: string - src: string active: boolean + height: number + + src?: string + width?: number +} + +export type PeerTubeTextTrack = { + id: string + label: string + src: string + mode: TextTrackMode }