From 1151f5210c0e7665ec6714e73261f299e6fe757b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 May 2020 11:54:33 +0200 Subject: Add ability to update embed captions --- client/src/standalone/player/definitions.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/src/standalone/player/definitions.ts') diff --git a/client/src/standalone/player/definitions.ts b/client/src/standalone/player/definitions.ts index 9fe903260..cc5203ed5 100644 --- a/client/src/standalone/player/definitions.ts +++ b/client/src/standalone/player/definitions.ts @@ -16,3 +16,10 @@ export interface PeerTubeResolution { src?: string width?: number } + +export type PeerTubeTextTrack = { + id: string + label: string + src: string + mode: 'showing' | 'disabled' +} -- cgit v1.2.3