Skip to content

Commit

Permalink
Merge branch 'MDL-61020-master' of git://github.com/rezaies/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 3, 2018
2 parents f6873c2 + 348db70 commit c835d2c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions media/player/videojs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1428,3 +1428,32 @@ video::-webkit-media-text-track-display {
.mediaplugin_videojs video {
min-height: 32px;
}

/* MDL-61020: VideoJS timeline progress bar should not be flipped in RTL mode. */

/* Prevent the progress bar from being flipped in RTL. */
/*rtl:ignore*/
.video-js .vjs-progress-holder .vjs-play-progress,
.video-js .vjs-progress-holder .vjs-load-progress,
.video-js .vjs-progress-holder .vjs-load-progress div {
left: 0;
right: auto;
}
/* Keep the video scrubber button at the end of the progress bar in RTL. */
/*rtl:ignore*/
.video-js .vjs-play-progress:before {
left: auto;
right: -0.5em;
}
/* Prevent the volume slider from being flipped in RTL. */
/*rtl:ignore*/
.video-js .vjs-volume-level {
left: 0;
right: auto;
}
/* Keep the volume slider handle at the end of the volume slider in RTL. */
/*rtl:ignore*/
.vjs-slider-horizontal .vjs-volume-level:before {
left: auto;
right: -0.5em;
}

0 comments on commit c835d2c

Please sign in to comment.