diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-02 18:30:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-02 18:30:26 +0200 |
commit | c47106315ae3c403239cda29c49b4bba51ddccb2 (patch) | |
tree | 526d2f3ba284dde6bc8d83699c0a78e86d7860eb /client/src/assets/player/webtorrent/webtorrent-plugin.ts | |
parent | f421fa06ada7bb01d91142cc8211a65e2b390d7b (diff) | |
download | PeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.tar.gz PeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.tar.zst PeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.zip |
tslint update
Diffstat (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts')
-rw-r--r-- | client/src/assets/player/webtorrent/webtorrent-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index c7182acc9..eee3d4db9 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts | |||
@@ -347,7 +347,7 @@ class WebTorrentPlugin extends Plugin { | |||
347 | if (!averageDownloadSpeed) averageDownloadSpeed = this.getAndSaveActualDownloadSpeed() | 347 | if (!averageDownloadSpeed) averageDownloadSpeed = this.getAndSaveActualDownloadSpeed() |
348 | 348 | ||
349 | // Limit resolution according to player height | 349 | // Limit resolution according to player height |
350 | const playerHeight = this.playerElement.offsetHeight as number | 350 | const playerHeight = this.playerElement.offsetHeight |
351 | 351 | ||
352 | // We take the first resolution just above the player height | 352 | // We take the first resolution just above the player height |
353 | // Example: player height is 530px, we want the 720p file instead of 480p | 353 | // Example: player height is 530px, we want the 720p file instead of 480p |