diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 1 | ||||
-rw-r--r-- | client/src/sass/video-js-custom.scss | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 662380d96..585ab2e00 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -340,6 +340,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
340 | const videojsOptions = { | 340 | const videojsOptions = { |
341 | controls: true, | 341 | controls: true, |
342 | autoplay: this.isAutoplay(), | 342 | autoplay: this.isAutoplay(), |
343 | playbackRates: [0.5, 1, 1.25, 1.5, 2], | ||
343 | plugins: { | 344 | plugins: { |
344 | peertube: { | 345 | peertube: { |
345 | videoFiles: this.video.files, | 346 | videoFiles: this.video.files, |
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index 75630dd63..e87ae21ae 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss | |||
@@ -180,7 +180,6 @@ $control-bar-height: 34px; | |||
180 | width: 100%; | 180 | width: 100%; |
181 | line-height: $control-bar-height; | 181 | line-height: $control-bar-height; |
182 | text-align: right; | 182 | text-align: right; |
183 | padding-right: 60px; | ||
184 | 183 | ||
185 | .vjs-peertube-displayed { | 184 | .vjs-peertube-displayed { |
186 | display: block; | 185 | display: block; |
@@ -219,6 +218,12 @@ $control-bar-height: 34px; | |||
219 | } | 218 | } |
220 | } | 219 | } |
221 | 220 | ||
221 | .vjs-playback-rate { | ||
222 | font-size: 10px; | ||
223 | margin-right: 60px; | ||
224 | margin-top: 2px; | ||
225 | } | ||
226 | |||
222 | .vjs-mute-control { | 227 | .vjs-mute-control { |
223 | outline: 0; | 228 | outline: 0; |
224 | 229 | ||
@@ -322,7 +327,6 @@ $control-bar-height: 34px; | |||
322 | } | 327 | } |
323 | 328 | ||
324 | .vjs-menu-button-popup { | 329 | .vjs-menu-button-popup { |
325 | font-size: 13px; | ||
326 | font-weight: $font-semibold; | 330 | font-weight: $font-semibold; |
327 | width: 50px; | 331 | width: 50px; |
328 | 332 | ||