aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-videojs-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-videojs-plugin.ts')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index 4843e3d8a..22cb27da3 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -126,6 +126,10 @@ class ResolutionMenuButton extends MenuButton {
126 buildCSSClass () { 126 buildCSSClass () {
127 return super.buildCSSClass() + ' vjs-resolution-button' 127 return super.buildCSSClass() + ' vjs-resolution-button'
128 } 128 }
129
130 buildWrapperCSSClass () {
131 return 'vjs-resolution-control ' + super.buildWrapperCSSClass()
132 }
129} 133}
130MenuButton.registerComponent('ResolutionMenuButton', ResolutionMenuButton) 134MenuButton.registerComponent('ResolutionMenuButton', ResolutionMenuButton)
131 135