From 7e37e111116e41530749b88327bc601cb39ade03 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Apr 2020 11:20:12 +0200 Subject: Fix videojs typings --- .../assets/player/videojs-components/peertube-load-progress-bar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/assets/player/videojs-components/peertube-load-progress-bar.ts') diff --git a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts index 8168e8f2d..395720c53 100644 --- a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts +++ b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts @@ -1,10 +1,10 @@ -import videojs, { VideoJsPlayer } from 'video.js' +import videojs from 'video.js/dist/alt/video.core.js' const Component = videojs.getComponent('Component') class PeerTubeLoadProgressBar extends Component { - constructor (player: VideoJsPlayer, options?: videojs.ComponentOptions) { + constructor (player: videojs.Player, options?: videojs.ComponentOptions) { super(player, options) this.on(player, 'progress', this.update) -- cgit v1.2.3