Skip to content

Commit

Permalink
Fallback HLS failure to web video player
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Feb 23, 2024
1 parent 094accd commit c4a0621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/assets/player/peertube-player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c4a0621

Please sign in to comment.