1
0
Fork 0

Fallback HLS failure to web video player

This commit is contained in:
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

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
}