-import videojs, { VideoJsPlayer } from 'video.js'
+import videojs from 'video.js'
const Button = videojs.getComponent('Button')
class NextVideoButton extends Button {
private readonly nextVideoButtonOptions: NextVideoButtonOptions
- constructor (player: VideoJsPlayer, options?: NextVideoButtonOptions) {
+ constructor (player: videojs.Player, options?: NextVideoButtonOptions) {
super(player, options)
this.nextVideoButtonOptions = options