diff options
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-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 | ||