diff options
Diffstat (limited to 'client/src/assets')
4 files changed, 31 insertions, 0 deletions
diff --git a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts index 9a0e3b550..b594fc1c5 100644 --- a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts +++ b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts | |||
@@ -6,6 +6,7 @@ import { Player } from 'video.js' | |||
6 | const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') | 6 | const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') |
7 | 7 | ||
8 | class PeerTubeLoadProgressBar extends Component { | 8 | class PeerTubeLoadProgressBar extends Component { |
9 | partEls_: any[] | ||
9 | 10 | ||
10 | constructor (player: Player, options: any) { | 11 | constructor (player: Player, options: any) { |
11 | super(player, options) | 12 | super(player, options) |
diff --git a/client/src/assets/player/videojs-components/resolution-menu-button.ts b/client/src/assets/player/videojs-components/resolution-menu-button.ts index cff44de72..aeb48888f 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-button.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-button.ts | |||
@@ -9,6 +9,8 @@ const Menu: VideoJSComponentInterface = videojsUntyped.getComponent('Menu') | |||
9 | const MenuButton: VideoJSComponentInterface = videojsUntyped.getComponent('MenuButton') | 9 | const MenuButton: VideoJSComponentInterface = videojsUntyped.getComponent('MenuButton') |
10 | class ResolutionMenuButton extends MenuButton { | 10 | class ResolutionMenuButton extends MenuButton { |
11 | label: HTMLElement | 11 | label: HTMLElement |
12 | labelEl_: any | ||
13 | player: Player | ||
12 | 14 | ||
13 | constructor (player: Player, options: any) { | 15 | constructor (player: Player, options: any) { |
14 | super(player, options) | 16 | super(player, options) |
diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts index 5e09032b4..3e8b5fc94 100644 --- a/client/src/assets/player/videojs-components/settings-menu-button.ts +++ b/client/src/assets/player/videojs-components/settings-menu-button.ts | |||
@@ -14,6 +14,18 @@ const Menu: VideoJSComponentInterface = videojsUntyped.getComponent('Menu') | |||
14 | const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') | 14 | const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') |
15 | 15 | ||
16 | class SettingsButton extends Button { | 16 | class SettingsButton extends Button { |
17 | playerComponent = videojs.Player | ||
18 | dialog: any | ||
19 | dialogEl: any | ||
20 | menu: any | ||
21 | panel: any | ||
22 | panelChild: any | ||
23 | |||
24 | addSettingsItemHandler: Function | ||
25 | disposeSettingsItemHandler: Function | ||
26 | playerClickHandler: Function | ||
27 | userInactiveHandler: Function | ||
28 | |||
17 | constructor (player: videojs.Player, options: any) { | 29 | constructor (player: videojs.Player, options: any) { |
18 | super(player, options) | 30 | super(player, options) |
19 | 31 | ||
diff --git a/client/src/assets/player/videojs-components/settings-menu-item.ts b/client/src/assets/player/videojs-components/settings-menu-item.ts index 24b7e0c70..b738300ae 100644 --- a/client/src/assets/player/videojs-components/settings-menu-item.ts +++ b/client/src/assets/player/videojs-components/settings-menu-item.ts | |||
@@ -12,6 +12,22 @@ const MenuItem: VideoJSComponentInterface = videojsUntyped.getComponent('MenuIte | |||
12 | const component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') | 12 | const component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') |
13 | 13 | ||
14 | class SettingsMenuItem extends MenuItem { | 14 | class SettingsMenuItem extends MenuItem { |
15 | settingsButton: any | ||
16 | dialog: any | ||
17 | mainMenu: any | ||
18 | panel: any | ||
19 | panelChild: any | ||
20 | panelChildEl: any | ||
21 | size: any | ||
22 | menuToLoad: string | ||
23 | subMenu: any | ||
24 | |||
25 | submenuClickHandler: Function | ||
26 | transitionEndHandler: Function | ||
27 | |||
28 | settingsSubMenuTitleEl_: any | ||
29 | settingsSubMenuValueEl_: any | ||
30 | settingsSubMenuEl_: any | ||
15 | 31 | ||
16 | constructor (player: videojs.Player, options: any, entry: string, menuButton: VideoJSComponentInterface) { | 32 | constructor (player: videojs.Player, options: any, entry: string, menuButton: VideoJSComponentInterface) { |
17 | super(player, options) | 33 | super(player, options) |