aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/webtorrent/webtorrent-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts3
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 = {
25const Plugin = videojs.getPlugin('plugin') 25const Plugin = videojs.getPlugin('plugin')
26 26
27class WebTorrentPlugin extends Plugin { 27class 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