Fallback HLS failure to web video player
This commit is contained in:
parent
094accd873
commit
c4a062109d
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ export class PeerTubePlayer {
|
|||
}
|
||||
|
||||
private async maybeFallbackToWebVideo () {
|
||||
if (this.currentLoadOptions.webVideo.videoFiles.length === 0 || this.currentLoadOptions.mode === 'web-video') {
|
||||
if (this.currentLoadOptions.mode === 'web-video') {
|
||||
this.player.peertube().displayFatalError()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue