diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-25 15:37:50 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-25 15:37:50 +0200 |
commit | 2b58ca796df4969622c32e4f34f4e02112e577d7 (patch) | |
tree | 4deec715fa8a1b7a85eb7751302548ec74b5cd7b /client/src/assets/player/webtorrent/webtorrent-plugin.ts | |
parent | 0d25c5941466d824e0840b0381e368736f813d51 (diff) | |
download | PeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.tar.gz PeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.tar.zst PeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.zip |
Upgrade client dependencies
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 e27a16390..b648b29e8 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts | |||
@@ -649,7 +649,7 @@ class WebTorrentPlugin extends Plugin { | |||
649 | } | 649 | } |
650 | 650 | ||
651 | private changeQuality () { | 651 | private changeQuality () { |
652 | const resolutionId = this.currentVideoFile.resolution.id | 652 | const resolutionId = this.currentVideoFile.resolution.id as number |
653 | const qualityLevels = this.player.qualityLevels() | 653 | const qualityLevels = this.player.qualityLevels() |
654 | 654 | ||
655 | if (resolutionId === -1) { | 655 | if (resolutionId === -1) { |