aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index 208105d3c..848dcb266 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -242,7 +242,7 @@ class PeerTubePlugin extends Plugin {
242 }, options.delay || 0) 242 }, options.delay || 0)
243 }) 243 })
244 244
245 this.torrent.on('error', err => this.handleError(err)) 245 this.torrent.on('error', err => console.error(err))
246 246
247 this.torrent.on('warning', (err: any) => { 247 this.torrent.on('warning', (err: any) => {
248 // We don't support HTTP tracker but we don't care -> we use the web socket tracker 248 // We don't support HTTP tracker but we don't care -> we use the web socket tracker
@@ -250,7 +250,7 @@ class PeerTubePlugin extends Plugin {
250 250
251 // Users don't care about issues with WebRTC, but developers do so log it in the console 251 // Users don't care about issues with WebRTC, but developers do so log it in the console
252 if (err.message.indexOf('Ice connection failed') !== -1) { 252 if (err.message.indexOf('Ice connection failed') !== -1) {
253 console.error(err) 253 console.log(err)
254 return 254 return
255 } 255 }
256 256
@@ -261,7 +261,7 @@ class PeerTubePlugin extends Plugin {
261 return this.addTorrent(this.torrent['xs'], previousVideoFile, options, done) 261 return this.addTorrent(this.torrent['xs'], previousVideoFile, options, done)
262 } 262 }
263 263
264 return this.handleError(err) 264 return console.warn(err)
265 }) 265 })
266 } 266 }
267 267
@@ -564,7 +564,7 @@ class PeerTubePlugin extends Plugin {
564 this.player.controlBar.on('mouseenter', () => disableInactivity()) 564 this.player.controlBar.on('mouseenter', () => disableInactivity())
565 settingsDialog.on('mouseenter', () => disableInactivity()) 565 settingsDialog.on('mouseenter', () => disableInactivity())
566 this.player.controlBar.on('mouseleave', () => enableInactivity()) 566 this.player.controlBar.on('mouseleave', () => enableInactivity())
567 // settingsDialog.on('mouseleave', () => enableInactivity()) 567 settingsDialog.on('mouseleave', () => enableInactivity())
568 } 568 }
569 569
570 private pickAverageVideoFile () { 570 private pickAverageVideoFile () {