diff options
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 19490baf2..30ef7c49c 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -160,7 +160,7 @@ const peertubePlugin = function (options: PeertubePluginOptions) { | |||
160 | player.torrent.on('error', err => handleError(err)) | 160 | player.torrent.on('error', err => handleError(err)) |
161 | player.torrent.on('warning', err => { | 161 | player.torrent.on('warning', err => { |
162 | // We don't support HTTP tracker but we don't care -> we use the web socket tracker | 162 | // We don't support HTTP tracker but we don't care -> we use the web socket tracker |
163 | if (err.message.indexOf('Unsupported tracker protocol: http://') !== -1) return | 163 | if (err.message.indexOf('Unsupported tracker protocol: http') !== -1) return |
164 | 164 | ||
165 | return handleError(err) | 165 | return handleError(err) |
166 | }) | 166 | }) |