aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/assets/player/videojs-components/settings-panel-child.ts
blob: d12e8218a8f63fefa754464fec321175facdd6e0 (plain) (tree)





















                                                                           
import videojs, { VideoJsPlayer } from 'video.js'

const Component = videojs.getComponent('Component')

class SettingsPanelChild extends Component {

  constructor (player: VideoJsPlayer, 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 }