-import videojs, { VideoJsPlayer } from 'video.js'
+import videojs from 'video.js/dist/alt/video.core.js'
function getMainTemplate (options: any) {
return `
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