1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

Merge branch 'stable'

This commit is contained in:
Gary Katsevman 2016-04-04 13:31:08 -04:00
commit 41f8e7b855
6 changed files with 14 additions and 5 deletions

View File

@ -16,6 +16,11 @@ CHANGELOG
--------------------
## 5.8.8 (2016-04-04)
* @vtytar fixed auto-setup failing if taking too long to load ([view](http://github.com/videojs/video.js/pull/3233))
* @seescode fixed css failing on IE8 due to incorrect ie8 hack ([view](http://github.com/videojs/video.js/pull/3226))
* @seescode fixed dragging on mute toggle changing the volume ([view](http://github.com/videojs/video.js/pull/3228))
## 5.8.7 (2016-03-29)
* @llun fixed menus from throwing when focused when empty ([view](https://github.com/videojs/video.js/pull/3218))
* @mister-ben added dir=ltr to control bar and loading spinner ([view](https://github.com/videojs/video.js/pull/3221))

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "5.8.7",
"version": "5.8.8",
"keywords": [
"videojs",
"html5",

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "5.8.7",
"version": "5.8.8",
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
"license": "Apache-2.0",
"keywords": [

View File

@ -46,7 +46,7 @@
// fonts to show/hide properly.
// - "\9" IE8 hack didn't work for this
// Found in XP IE8 from http://modern.ie. Does not show up in "IE8 mode" in IE9
$ie8screen: "\0screen";
$ie8screen: "\\0screen";
.vjs-user-inactive.vjs-playing .vjs-control-bar :before {
@media #{$ie8screen} { content: ""; }
}

View File

@ -108,6 +108,7 @@ class VolumeMenuButton extends PopupButton {
popup.addChild(vb);
this.menuContent = popup;
this.volumeBar = vb;
this.attachVolumeBarEvents();
@ -126,7 +127,7 @@ class VolumeMenuButton extends PopupButton {
}
attachVolumeBarEvents() {
this.on(['mousedown', 'touchdown'], this.handleMouseDown);
this.menuContent.on(['mousedown', 'touchdown'], Fn.bind(this, this.handleMouseDown));
}
handleMouseDown(event) {

View File

@ -72,7 +72,10 @@ var autoSetup = function(){
// Pause to let the DOM keep processing
var autoSetupTimeout = function(wait, vjs){
videojs = vjs;
if (vjs) {
videojs = vjs;
}
setTimeout(autoSetup, wait);
};