Created
October 27, 2014 17:31
-
-
Save dmlap/40d538467b704effc130 to your computer and use it in GitHub Desktop.
Specifying button display ordering in the Brightcove player.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Specify where your custom control should show up relative to the other buttons. | |
Buttons are displayed in ascending order, from left to right. The CSS spec only | |
requires `order` today but you should include the other rules so that your button | |
is placed correctly on older browsers. | |
*/ | |
.video-js .vjs-custom-control { | |
order: 5; /* after the progress bar but before the volume button */ | |
-webkit-box-ordinal-group: 5; | |
-moz-box-ordinal-group: 5; | |
-webkit-order: 5; | |
-ms-flex-order: 5; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment