mirror of
https://github.com/videojs/video.js.git
synced 2025-01-04 06:48:49 +02:00
Exposed the vertical option for slider controls. closes #1303
This commit is contained in:
parent
fc4d00c658
commit
b66ef806e5
@ -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 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))
|
* 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))
|
* 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))
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ vjs.Slider.prototype.calculateDistance = function(event){
|
|||||||
boxW = boxH = el.offsetWidth;
|
boxW = boxH = el.offsetWidth;
|
||||||
handle = this.handle;
|
handle = this.handle;
|
||||||
|
|
||||||
if (this.options_.vertical) {
|
if (this.options()['vertical']) {
|
||||||
boxY = box.top;
|
boxY = box.top;
|
||||||
|
|
||||||
if (event.changedTouches) {
|
if (event.changedTouches) {
|
||||||
|
Loading…
Reference in New Issue
Block a user