From 7e37e111116e41530749b88327bc601cb39ade03 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Apr 2020 11:20:12 +0200 Subject: Fix videojs typings --- client/src/assets/player/upnext/end-card.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/assets/player/upnext/end-card.ts') diff --git a/client/src/assets/player/upnext/end-card.ts b/client/src/assets/player/upnext/end-card.ts index d121a83a9..c39a9c913 100644 --- a/client/src/assets/player/upnext/end-card.ts +++ b/client/src/assets/player/upnext/end-card.ts @@ -1,4 +1,4 @@ -import videojs, { VideoJsPlayer } from 'video.js' +import videojs from 'video.js/dist/alt/video.core.js' function getMainTemplate (options: any) { return ` @@ -50,7 +50,7 @@ class EndCard extends Component { suspendedMessage: HTMLElement nextButton: HTMLElement - constructor (player: VideoJsPlayer, options: EndCardOptions) { + constructor (player: videojs.Player, options: EndCardOptions) { super(player, options) this.totalTicks = this.options_.timeout / this.interval -- cgit v1.2.3