diff options
Diffstat (limited to 'client/src/assets/player/videojs-components/settings-menu-button.ts')
-rw-r--r-- | client/src/assets/player/videojs-components/settings-menu-button.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts index eae628e7d..749128bdc 100644 --- a/client/src/assets/player/videojs-components/settings-menu-button.ts +++ b/client/src/assets/player/videojs-components/settings-menu-button.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | // Thanks to Yanko Shterev: https://github.com/yshterev/videojs-settings-menu | 1 | // Thanks to Yanko Shterev: https://github.com/yshterev/videojs-settings-menu |
2 | import { SettingsMenuItem } from './settings-menu-item' | 2 | import { SettingsMenuItem } from './settings-menu-item' |
3 | import { toTitleCase } from '../utils' | 3 | import { toTitleCase } from '../utils' |
4 | import videojs, { VideoJsPlayer } from 'video.js' | 4 | import videojs from 'video.js/dist/alt/video.core.js' |
5 | 5 | ||
6 | import { SettingsDialog } from './settings-dialog' | 6 | import { SettingsDialog } from './settings-dialog' |
7 | import { SettingsPanel } from './settings-panel' | 7 | import { SettingsPanel } from './settings-panel' |
@@ -32,7 +32,7 @@ class SettingsButton extends Button { | |||
32 | 32 | ||
33 | private settingsButtonOptions: SettingsButtonOptions | 33 | private settingsButtonOptions: SettingsButtonOptions |
34 | 34 | ||
35 | constructor (player: VideoJsPlayer, options?: SettingsButtonOptions) { | 35 | constructor (player: videojs.Player, options?: SettingsButtonOptions) { |
36 | super(player, options) | 36 | super(player, options) |
37 | 37 | ||
38 | this.settingsButtonOptions = options | 38 | this.settingsButtonOptions = options |