Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fallback HLS failure to web video player

Chocobozzzc4a062109d56
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts
index fe98a5eb41..b6b6382fd5 100644
--- a/client/src/assets/player/peertube-player.ts
+++ b/client/src/assets/player/peertube-player.ts
@@ -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
}