aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-29 16:28:07 +0200
committerChocobozzz <me@florianbigard.com>2018-04-03 12:06:28 +0200
commit6b9af1293621a81564296ead6f12f5e70eafbca2 (patch)
treeba8b96d8e216cb97773485b6f53b43247b86fc93 /client/src/assets/player
parente993ecb3b761bba8fba2b8329270ae904bd3a0d7 (diff)
downloadPeerTube-6b9af1293621a81564296ead6f12f5e70eafbca2.tar.gz
PeerTube-6b9af1293621a81564296ead6f12f5e70eafbca2.tar.zst
PeerTube-6b9af1293621a81564296ead6f12f5e70eafbca2.zip
Add opacity effect on control bar icons
Diffstat (limited to 'client/src/assets/player')
-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