Skip to content

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

Send fatal player errors to server

Chocobozzze7e7eca508df
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts
index 30ee039701..6fc39a0e3b 100644
--- a/client/src/assets/player/shared/peertube/peertube-plugin.ts
+++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts
@@ -201,6 +201,8 @@ class PeerTubePlugin extends Plugin {
this.errorModal.addClass('vjs-custom-error-display')
this.player.addClass('vjs-error-display-enabled')
+
+ logger.error('Fatal error in player', this.player.error())
}
hideFatalError () {