Send fatal player errors to server
This commit is contained in:
parent
ca58501c52
commit
e7e7eca508
|
@ -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 () {
|
||||||
|
|
Loading…
Reference in New Issue