From 2b58ca796df4969622c32e4f34f4e02112e577d7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Jun 2021 15:37:50 +0200 Subject: Upgrade client dependencies --- client/src/assets/player/webtorrent/webtorrent-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/assets') 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 { } private changeQuality () { - const resolutionId = this.currentVideoFile.resolution.id + const resolutionId = this.currentVideoFile.resolution.id as number const qualityLevels = this.player.qualityLevels() if (resolutionId === -1) { -- cgit v1.2.3