]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/webtorrent-info-button.ts
Fix transcoding
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / webtorrent-info-button.ts
index deef253ceab4207387cafb988d958caece9ae583..5b9d0a40135a24b9d9ea5d848c17df082ac94bd1 100644 (file)
@@ -65,7 +65,7 @@ class WebtorrentInfoButton extends Button {
     subDivHttp.appendChild(subDivHttpText)
     div.appendChild(subDivHttp)
 
-    this.player_.peertube().on('torrentInfo', (event, data) => {
+    this.player_.peertube().on('torrentInfo', (data: any) => {
       // We are in HTTP fallback
       if (!data) {
         subDivHttp.className = 'vjs-peertube-displayed'