aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/assets/player/videojs-components/settings-panel-child.ts
blob: d1582412c6e49006a35c35aba0eb613d62027fb6 (plain) (tree)
1
2
3
4
5
6
7
                              




                                                   
                                                                            














                                                                     
import videojs from 'video.js'

const Component = videojs.getComponent('Component')

class SettingsPanelChild extends Component {

  constructor (player: videojs.Player, options?: videojs.ComponentOptions) {
    super(player, options)
  }

  createEl () {
    return super.createEl('div', {
      className: 'vjs-settings-panel-child',
      innerHTML: '',
      tabIndex: -1
    })
  }
}

Component.registerComponent('SettingsPanelChild', SettingsPanelChild)

export { SettingsPanelChild }