mirror of https://github.com/Chocobozzz/PeerTube
Fix player options
parent
b980bcff7b
commit
05287a2e36
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue