diff options
Diffstat (limited to 'client/src/assets/player/bezels')
-rw-r--r-- | client/src/assets/player/bezels/bezels-plugin.ts | 4 | ||||
-rw-r--r-- | client/src/assets/player/bezels/pause-bezel.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/assets/player/bezels/bezels-plugin.ts b/client/src/assets/player/bezels/bezels-plugin.ts index 499177526..ad8bfa703 100644 --- a/client/src/assets/player/bezels/bezels-plugin.ts +++ b/client/src/assets/player/bezels/bezels-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 './pause-bezel' | 2 | import './pause-bezel' |
3 | 3 | ||
4 | const Plugin = videojs.getPlugin('plugin') | 4 | const Plugin = videojs.getPlugin('plugin') |
5 | 5 | ||
6 | class BezelsPlugin extends Plugin { | 6 | class BezelsPlugin extends Plugin { |
7 | 7 | ||
8 | constructor (player: VideoJsPlayer, options?: videojs.ComponentOptions) { | 8 | constructor (player: videojs.Player, options?: videojs.ComponentOptions) { |
9 | super(player) | 9 | super(player) |
10 | 10 | ||
11 | this.player.ready(() => { | 11 | this.player.ready(() => { |
diff --git a/client/src/assets/player/bezels/pause-bezel.ts b/client/src/assets/player/bezels/pause-bezel.ts index 98eb12099..d9ef9a390 100644 --- a/client/src/assets/player/bezels/pause-bezel.ts +++ b/client/src/assets/player/bezels/pause-bezel.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import videojs, { VideoJsPlayer } from 'video.js' | 1 | import videojs from 'video.js/dist/alt/video.core.js' |
2 | 2 | ||
3 | function getPauseBezel () { | 3 | function getPauseBezel () { |
4 | return ` | 4 | return ` |
@@ -34,7 +34,7 @@ const Component = videojs.getComponent('Component') | |||
34 | class PauseBezel extends Component { | 34 | class PauseBezel extends Component { |
35 | container: HTMLDivElement | 35 | container: HTMLDivElement |
36 | 36 | ||
37 | constructor (player: VideoJsPlayer, options?: videojs.ComponentOptions) { | 37 | constructor (player: videojs.Player, options?: videojs.ComponentOptions) { |
38 | super(player, options) | 38 | super(player, options) |
39 | 39 | ||
40 | player.on('pause', (_: any) => { | 40 | player.on('pause', (_: any) => { |