aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index 4898c1efe..8b50e323e 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -1,6 +1,6 @@
1// Big thanks to: https://github.com/kmoskwiak/videojs-resolution-switcher 1// Big thanks to: https://github.com/kmoskwiak/videojs-resolution-switcher
2 2
3import videojs, { Player } from 'video.js' 3import * as videojs from 'video.js'
4import * as WebTorrent from 'webtorrent' 4import * as WebTorrent from 'webtorrent'
5import { VideoFile } from '../../../../shared' 5import { VideoFile } from '../../../../shared'
6 6
@@ -27,7 +27,7 @@ const webtorrent = new WebTorrent({ dht: false })
27 27
28const MenuItem = videojsUntyped.getComponent('MenuItem') 28const MenuItem = videojsUntyped.getComponent('MenuItem')
29const ResolutionMenuItem = videojsUntyped.extend(MenuItem, { 29const ResolutionMenuItem = videojsUntyped.extend(MenuItem, {
30 constructor: function (player: Player, options) { 30 constructor: function (player: videojs.Player, options) {
31 options.selectable = true 31 options.selectable = true
32 MenuItem.call(this, player, options) 32 MenuItem.call(this, player, options)
33 33