Skip to content

Instantly share code, notes, and snippets.

@dmlap
Created October 27, 2014 17:31
Show Gist options
  • Save dmlap/40d538467b704effc130 to your computer and use it in GitHub Desktop.
Save dmlap/40d538467b704effc130 to your computer and use it in GitHub Desktop.
Specifying button display ordering in the Brightcove player.
/* 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