diff options
Diffstat (limited to 'client/src/assets/player/upnext/upnext-plugin.ts')
-rw-r--r-- | client/src/assets/player/upnext/upnext-plugin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/upnext/upnext-plugin.ts b/client/src/assets/player/upnext/upnext-plugin.ts index 6512fec2c..ac7699e9a 100644 --- a/client/src/assets/player/upnext/upnext-plugin.ts +++ b/client/src/assets/player/upnext/upnext-plugin.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | import videojs, { VideoJsPlayer } from 'video.js' | 1 | import videojs from 'video.js/dist/alt/video.core.js' |
2 | import { EndCardOptions } from './end-card' | 2 | import { EndCardOptions } from './end-card' |
3 | 3 | ||
4 | const Plugin = videojs.getPlugin('plugin') | 4 | const Plugin = videojs.getPlugin('plugin') |
5 | 5 | ||
6 | class UpNextPlugin extends Plugin { | 6 | class UpNextPlugin extends Plugin { |
7 | 7 | ||
8 | constructor (player: VideoJsPlayer, options: Partial<EndCardOptions> = {}) { | 8 | constructor (player: videojs.Player, options: Partial<EndCardOptions> = {}) { |
9 | const settings = { | 9 | const settings = { |
10 | next: options.next, | 10 | next: options.next, |
11 | getTitle: options.getTitle, | 11 | getTitle: options.getTitle, |