1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

Exposed the vertical option for slider controls. closes #1303

This commit is contained in:
Cavitt 2014-06-25 17:27:56 -07:00 committed by Steve Heffernan
parent fc4d00c658
commit b66ef806e5
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ CHANGELOG
* Fixed issues around webvtt cue time parsing. Fixed #877, fixed #183. ([view](https://github.com/videojs/video.js/pull/1236))
* Fixed an IE11 issue where clicking on the video wouldn't show the controls ([view](https://github.com/videojs/video.js/pull/1291))
* Added a composer.json for PHP packages ([view](https://github.com/videojs/video.js/pull/1241))
* Exposed the vertical option for slider controls ([view](https://github.com/videojs/video.js/pull/1303))
--------------------

View File

@ -128,7 +128,7 @@ vjs.Slider.prototype.calculateDistance = function(event){
boxW = boxH = el.offsetWidth;
handle = this.handle;
if (this.options_.vertical) {
if (this.options()['vertical']) {
boxY = box.top;
if (event.changedTouches) {