diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-12 15:11:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-12 15:14:33 +0200 |
commit | 05287a2e362416e3ad9b9aa0b58df36a2da62080 (patch) | |
tree | 5e964ec73dec9cee40e6cd37a68b404aef30cf6c | |
parent | b980bcff7b6343d8c9747e735cb55645847e64da (diff) | |
download | PeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.tar.gz PeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.tar.zst PeerTube-05287a2e362416e3ad9b9aa0b58df36a2da62080.zip |
Fix player options
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 3 |
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 | ||