mirror of
https://github.com/videojs/video.js.git
synced 2025-02-04 11:43:27 +02:00
Updated readme. Fixed some JSlint complaints.
This commit is contained in:
parent
64e6573945
commit
32193e1e86
@ -1,6 +1,6 @@
|
||||
VideoJS - [HTML5 Video Player](http://videojs.com)
|
||||
==================================================
|
||||
Version 1.1.2
|
||||
Version 1.1.3
|
||||
|
||||
View [VideoJS.com](http://videojs.com) for a demo and overview.
|
||||
|
||||
@ -134,10 +134,12 @@ Changelog
|
||||
- Feature: Width/Height functions for resizing the player
|
||||
- Feature: Made initial click & hold trigger new value on progress and volume
|
||||
- Feature: Made controls not hide when hovering over them
|
||||
- Feature: Added big play button as default starting control.
|
||||
- Fix: Removed trailing comma that was breaking IE7
|
||||
- Fix: Removed some vars from global scope
|
||||
- Fix: Changed a document.onmousemove to an eventListener to prevent conflicts
|
||||
- Fix: Added a unique ID to FlowPlayer demo object to fix a FlowPlayer bug. Thanks @emirpprime.
|
||||
- Fix: Safari error on unloaded video
|
||||
|
||||
1.1.2 (2010-09-20)
|
||||
|
||||
|
6
video.js
6
video.js
@ -90,7 +90,7 @@ var VideoJS = JRClass.extend({
|
||||
return; // Use the devices default controls
|
||||
}
|
||||
|
||||
if (this.options.useBrowserControls == false) {
|
||||
if (!this.options.useBrowserControls) {
|
||||
// Hide default controls
|
||||
this.video.controls = false;
|
||||
}
|
||||
@ -734,7 +734,7 @@ var VideoJS = JRClass.extend({
|
||||
setPlayProgress: function(newProgress){
|
||||
try { this.video.currentTime = newProgress * this.video.duration; }
|
||||
catch(e) {
|
||||
if (e.code = 11) { this.errors.push(VideoJS.errorCodes.videoNotReady); }
|
||||
if (e.code == 11) { this.errors.push(VideoJS.errorCodes.videoNotReady); }
|
||||
}
|
||||
this.playProgress.style.width = newProgress * (_V_.getComputedStyleValue(this.progressHolder, "width").replace("px", "")) + "px";
|
||||
this.updateTimeDisplay();
|
||||
@ -817,7 +817,7 @@ var VideoJS = JRClass.extend({
|
||||
try {
|
||||
this.video.webkitEnterFullScreen();
|
||||
} catch (e) {
|
||||
if (e.code = 11) { this.errors.push(VideoJS.errorCodes.videoNotReady); }
|
||||
if (e.code == 11) { this.errors.push(VideoJS.errorCodes.videoNotReady); }
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user