From abb3097e814af0f22477aea68310e85671230942 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 3 Feb 2020 13:33:42 +0100 Subject: Improve embed title background opacity --- client/src/assets/player/webtorrent/webtorrent-plugin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts') diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index d26fc38fa..bf6b0a718 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts @@ -25,12 +25,13 @@ type PlayOptions = { const Plugin = videojs.getPlugin('plugin') class WebTorrentPlugin extends Plugin { + readonly videoFiles: VideoFile[] + private readonly playerElement: HTMLVideoElement private readonly autoplay: boolean = false private readonly startTime: number = 0 private readonly savePlayerSrcFunction: VideoJsPlayer['src'] - private readonly videoFiles: VideoFile[] private readonly videoDuration: number private readonly CONSTANTS = { INFO_SCHEDULER: 1000, // Don't change this -- cgit v1.2.3