blob: 1ad8bb1fc1de76a03aeeb1d2a86c7facaaf408b1 (
plain) (
tree)
|
|
import videojs from 'video.js'
const Component = videojs.getComponent('Component')
class SettingsPanel extends Component {
constructor (player: videojs.Player, options?: videojs.ComponentOptions) {
super(player, options)
}
createEl () {
return super.createEl('div', {
className: 'vjs-settings-panel',
innerHTML: '',
tabIndex: -1
})
}
}
Component.registerComponent('SettingsPanel', SettingsPanel)
export { SettingsPanel }
|