Fallback HLS failure to web video player

pull/6266/head
Chocobozzz 2024-02-23 15:21:29 +01:00
parent 094accd873
commit c4a062109d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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
}