diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-03 13:33:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-03 13:33:42 +0100 |
commit | abb3097e814af0f22477aea68310e85671230942 (patch) | |
tree | b88b2c835f1d437aef0d822d9985961858c15067 /client/src/assets/player/webtorrent | |
parent | 598edb8af1cc7e5ea3ead1ec9c96c4853b90be36 (diff) | |
download | PeerTube-abb3097e814af0f22477aea68310e85671230942.tar.gz PeerTube-abb3097e814af0f22477aea68310e85671230942.tar.zst PeerTube-abb3097e814af0f22477aea68310e85671230942.zip |
Improve embed title background opacity
Diffstat (limited to 'client/src/assets/player/webtorrent')
-rw-r--r-- | client/src/assets/player/webtorrent/webtorrent-plugin.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { | |||
25 | const Plugin = videojs.getPlugin('plugin') | 25 | const Plugin = videojs.getPlugin('plugin') |
26 | 26 | ||
27 | class WebTorrentPlugin extends Plugin { | 27 | class WebTorrentPlugin extends Plugin { |
28 | readonly videoFiles: VideoFile[] | ||
29 | |||
28 | private readonly playerElement: HTMLVideoElement | 30 | private readonly playerElement: HTMLVideoElement |
29 | 31 | ||
30 | private readonly autoplay: boolean = false | 32 | private readonly autoplay: boolean = false |
31 | private readonly startTime: number = 0 | 33 | private readonly startTime: number = 0 |
32 | private readonly savePlayerSrcFunction: VideoJsPlayer['src'] | 34 | private readonly savePlayerSrcFunction: VideoJsPlayer['src'] |
33 | private readonly videoFiles: VideoFile[] | ||
34 | private readonly videoDuration: number | 35 | private readonly videoDuration: number |
35 | private readonly CONSTANTS = { | 36 | private readonly CONSTANTS = { |
36 | INFO_SCHEDULER: 1000, // Don't change this | 37 | INFO_SCHEDULER: 1000, // Don't change this |