aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index 4eaaf51ec..959a55797 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -68,7 +68,7 @@ class WebTorrentPlugin extends Plugin {
68 68
69 private downloadSpeeds: number[] = [] 69 private downloadSpeeds: number[] = []
70 70
71 constructor (player: videojs.Player, options?: WebtorrentPluginOptions) { 71 constructor (player: videojs.Player, options: WebtorrentPluginOptions) {
72 super(player) 72 super(player)
73 73
74 this.startTime = timeToInt(options.startTime) 74 this.startTime = timeToInt(options.startTime)
@@ -129,7 +129,7 @@ class WebTorrentPlugin extends Plugin {
129 : this.pickAverageVideoFile() 129 : this.pickAverageVideoFile()
130} 130}
131 131
132 updateVideoFile ( 132 private updateVideoFile (
133 videoFile: VideoFile, 133 videoFile: VideoFile,
134 options: { 134 options: {
135 forcePlay?: boolean, 135 forcePlay?: boolean,