Skip to content

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

Reset decode errors on video change

Chocobozzz214737a07dfa
diff --git a/client/src/standalone/player/src/peertube-player.ts b/client/src/standalone/player/src/peertube-player.ts
index 0406e0724e..03af36ffa3 100644
--- a/client/src/standalone/player/src/peertube-player.ts
+++ b/client/src/standalone/player/src/peertube-player.ts
@@ -99,6 +99,7 @@ export class PeerTubePlayer {
async load (loadOptions: PeerTubePlayerLoadOptions) {
this.currentLoadOptions = loadOptions
+ this.videojsDecodeErrors = 0
this.setPoster([])