ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix player options
Chocobozzz05287a2e3624
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.tsindex ba0a6ab801..b071a09385 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 {videoFiles: webtorrentOptions.videoFiles.length !== 0? webtorrentOptions.videoFiles// The WebTorrent plugin won't be able to play these files, but it will fallback to HTTP mode- : p2pMediaLoaderOptions.videoFiles,- fallbackVideoFiles: p2pMediaLoaderOptions.videoFiles,+ : p2pMediaLoaderOptions?.videoFiles || [],startTime: commonOptions.startTime}