Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert making volumeMenuButton vertical by default #1592

Closed
wants to merge 1 commit into from

Conversation

mmcc
Copy link
Member

@mmcc mmcc commented Oct 17, 2014

There's currently no way to disable the vertical volume bar when using volumeMenuButton, but it seems like the default should more closely match the existing functionality regardless. If volumeMenuButton is used instead of volumeControl with no other settings, the expected behavior should be the same slider behavior as before, just in a menu. If someone wants to make it vertical, that should be explicitly set in the options.

I originally set out with this PR to also fix the CSS if someone did set the vertical option, but I've since thought better of it for multiple reasons (being a pain in the butt not being the least of those). Until #1553 is resolved, I don't think it's reasonable for us (or someone working on a skin) to need to account for both layouts. If someone explicitly sets vertical to true, they would also need to customize their own skin to account for the vertical slider. Someone should not need to customize the CSS for something that's a default. Also, it's a pain in the butt to fix now, so I'm deferring that fix until we come up with a good fix for #1553.

@gkatsev
Copy link
Member

gkatsev commented Oct 17, 2014

Just noting it's a breaking (albeit small) change for the brightcove player. We'll need to make sure we set this option explicitly before updating to a version that contains this PR.

@mmcc
Copy link
Member Author

mmcc commented Oct 17, 2014

Yep, figured we'd need to account for this on the BC player side if / when this gets pulled in. There's no hurry for this one, so it might be a minute.

@heff heff closed this in f5117ae Oct 28, 2014
@mmcc mmcc mentioned this pull request Oct 28, 2014
jgubman added a commit to jgubman/video.js that referenced this pull request Oct 29, 2014
* 'stable' of https://github.com/videojs/video.js: (22 commits)
  Added line to changelog for 4.10.1
  Release 4.10.1
  Removed alert...
  Release 4.10.0
  @heff turned on the custom html controls for touch devices. closes videojs#1617
  updated options to include sans-children, and included self-hosted font blurb
  added CORS information to tracks guide. Fixes videojs#837
  doc updates + readme quick start
  updated options guide to include components
  @heff Added the ability to set options for child components directly in the parent options. closes videojs#1599
  @DevGavin added a Simplified Chinese translation. closes videojs#1593
  @mmcc fixed an issue with the VolumeButton assuming it was vertical by default. closes videojs#1592
  @heff enhanced the event listener API to allow for auto-cleanup of listeners on other componenets and elements. closes videojs#1588
  @mmcc fixed an issue where errors on source tags could get missed. closes videojs#1575
  Added doc for remaining time and removed onWaitEnd doc
  maybe actually check for keyLocation
  Update languages.md
  @heff updated the poster to use CSS styles to display; fixed the poster not showing if not originally set. closes videojs#1568
  Release 4.9.1
  Bumped to videojs-swf v4.5.1 to fix a data sanitization issue. closes videojs#1587
  ...
@dmlap
Copy link
Member

dmlap commented Oct 30, 2014

The vertical property is mangled in video.js 4.10.1 so it's impossible to get the volume bar working vertically unless you use the mangled name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants