diff options
Diffstat (limited to 'client/src/assets/player/shared/settings/settings-panel-child.ts')
-rw-r--r-- | client/src/assets/player/shared/settings/settings-panel-child.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/assets/player/shared/settings/settings-panel-child.ts b/client/src/assets/player/shared/settings/settings-panel-child.ts new file mode 100644 index 000000000..161420c38 --- /dev/null +++ b/client/src/assets/player/shared/settings/settings-panel-child.ts | |||
@@ -0,0 +1,18 @@ | |||
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 } | ||