Send fatal player errors to server

pull/6544/head
Chocobozzz 2024-08-08 14:06:14 +02:00
parent ca58501c52
commit e7e7eca508
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ class PeerTubePlugin extends Plugin {
this.errorModal.addClass('vjs-custom-error-display') this.errorModal.addClass('vjs-custom-error-display')
this.player.addClass('vjs-error-display-enabled') this.player.addClass('vjs-error-display-enabled')
logger.error('Fatal error in player', this.player.error())
} }
hideFatalError () { hideFatalError () {