aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player-manager.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-12 15:11:22 +0200
committerChocobozzz <me@florianbigard.com>2021-07-12 15:14:33 +0200
commit05287a2e362416e3ad9b9aa0b58df36a2da62080 (patch)
tree5e964ec73dec9cee40e6cd37a68b404aef30cf6c /client/src/assets/player/peertube-player-manager.ts
parentb980bcff7b6343d8c9747e735cb55645847e64da (diff)
downloadPeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.tar.gz
PeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.tar.zst
PeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.zip
Fix player options
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index ba0a6ab80..b071a0938 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -401,8 +401,7 @@ export class PeertubePlayerManager {
401 videoFiles: webtorrentOptions.videoFiles.length !== 0 401 videoFiles: webtorrentOptions.videoFiles.length !== 0
402 ? webtorrentOptions.videoFiles 402 ? webtorrentOptions.videoFiles
403 // The WebTorrent plugin won't be able to play these files, but it will fallback to HTTP mode 403 // The WebTorrent plugin won't be able to play these files, but it will fallback to HTTP mode
404 : p2pMediaLoaderOptions.videoFiles, 404 : p2pMediaLoaderOptions?.videoFiles || [],
405 fallbackVideoFiles: p2pMediaLoaderOptions.videoFiles,
406 startTime: commonOptions.startTime 405 startTime: commonOptions.startTime
407 } 406 }
408 407