]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/assets/player/settings/settings-panel-child.ts
Fix hidden player on inactivity
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / settings / settings-panel-child.ts
1 import videojs from 'video.js'
2
3 const Component = videojs.getComponent('Component')
4
5 class SettingsPanelChild extends Component {
6
7 createEl () {
8 return super.createEl('div', {
9 className: 'vjs-settings-panel-child',
10 innerHTML: '',
11 tabIndex: -1
12 })
13 }
14 }
15
16 Component.registerComponent('SettingsPanelChild', SettingsPanelChild)
17
18 export { SettingsPanelChild }