ActivityPub-federated video streaming platform using P2P directly in your web browser
hide error message in https too (#108)
Adam Magnier8113a93a0d9f
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.tsindex 19490baf2b..30ef7c49c6 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) {player.torrent.on('error', err => handleError(err))player.torrent.on('warning', err => {// We don't support HTTP tracker but we don't care -> we use the web socket tracker- if (err.message.indexOf('Unsupported tracker protocol: http://') !== -1) return+ if (err.message.indexOf('Unsupported tracker protocol: http') !== -1) returnreturn handleError(err)})