aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-25 15:37:50 +0200
committerChocobozzz <me@florianbigard.com>2021-06-25 15:37:50 +0200
commit2b58ca796df4969622c32e4f34f4e02112e577d7 (patch)
tree4deec715fa8a1b7a85eb7751302548ec74b5cd7b /client/src/assets/player
parent0d25c5941466d824e0840b0381e368736f813d51 (diff)
downloadPeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.tar.gz
PeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.tar.zst
PeerTube-2b58ca796df4969622c32e4f34f4e02112e577d7.zip
Upgrade client dependencies
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts2
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) {