mirror of https://github.com/Chocobozzz/PeerTube
Don't log "The play() request was interrupted..."
parent
84455f2b94
commit
70b40c2ed3
|
@ -331,6 +331,10 @@ class PeerTubePlugin extends Plugin {
|
||||||
if (playPromise !== undefined) {
|
if (playPromise !== undefined) {
|
||||||
return playPromise.then(done)
|
return playPromise.then(done)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
if (err.message.indexOf('The play() request was interrupted by a call to pause()') !== -1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
console.error(err)
|
console.error(err)
|
||||||
this.player.pause()
|
this.player.pause()
|
||||||
this.player.posterImage.show()
|
this.player.posterImage.show()
|
||||||
|
|
Loading…
Reference in New Issue