diff options
author | Adam Magnier <qsypoq@users.noreply.github.com> | 2017-10-26 07:46:15 +0200 |
---|---|---|
committer | Bigard Florian <florian.bigard@gmail.com> | 2017-10-26 07:46:15 +0200 |
commit | 8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (patch) | |
tree | cdfa73921c3b525199c900a493526061bfb80585 /client/src/assets/player | |
parent | b9a20e5947950c6c641029c6a87bc447339fc69a (diff) | |
download | PeerTube-8113a93a0d9f31aa9e23702bbc31b8a76275ae22.tar.gz PeerTube-8113a93a0d9f31aa9e23702bbc31b8a76275ae22.tar.zst PeerTube-8113a93a0d9f31aa9e23702bbc31b8a76275ae22.zip |
hide error message in https too (#108)
Diffstat (limited to 'client/src/assets/player')
-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 | }) |