diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-22 11:37:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-22 15:11:04 +0200 |
commit | 1a49822c321c34c39faf0411189a7073effa7eb7 (patch) | |
tree | 56017e100e38dded703feb7af495a5f94bc4335b /client/src/assets/player/peertube-videojs-plugin.ts | |
parent | ff644b3066e18f232ce0b9de9129f34d42d3f35d (diff) | |
download | PeerTube-1a49822c321c34c39faf0411189a7073effa7eb7.tar.gz PeerTube-1a49822c321c34c39faf0411189a7073effa7eb7.tar.zst PeerTube-1a49822c321c34c39faf0411189a7073effa7eb7.zip |
Add title in player peers info to show total downloaded/uploaded data
Diffstat (limited to 'client/src/assets/player/peertube-videojs-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 35a347e99..fc07c35d6 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -466,7 +466,9 @@ class PeerTubePlugin extends Plugin { | |||
466 | return this.trigger('torrentInfo', { | 466 | return this.trigger('torrentInfo', { |
467 | downloadSpeed: this.torrent.downloadSpeed, | 467 | downloadSpeed: this.torrent.downloadSpeed, |
468 | numPeers: this.torrent.numPeers, | 468 | numPeers: this.torrent.numPeers, |
469 | uploadSpeed: this.torrent.uploadSpeed | 469 | uploadSpeed: this.torrent.uploadSpeed, |
470 | downloaded: this.torrent.downloaded, | ||
471 | uploaded: this.torrent.uploaded | ||
470 | }) | 472 | }) |
471 | }, this.CONSTANTS.INFO_SCHEDULER) | 473 | }, this.CONSTANTS.INFO_SCHEDULER) |
472 | } | 474 | } |