mirror of
https://github.com/videojs/video.js.git
synced 2025-04-09 07:23:57 +02:00
Release v4.12.8
This commit is contained in:
parent
fa6ad4929e
commit
86a11a01ab
@ -2,11 +2,14 @@ CHANGELOG
|
||||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
* @dmlap add the seekable property ([view](https://github.com/videojs/video.js/pull/2207))
|
||||
* @dmlap fix seekable export ([view](https://github.com/videojs/video.js/pull/2227))
|
||||
_(none)_
|
||||
|
||||
--------------------
|
||||
|
||||
## 4.12.8 (2015-06-05)
|
||||
* @dmlap add the seekable property ([view](https://github.com/videojs/video.js/pull/2207))
|
||||
* @dmlap fix seekable export ([view](https://github.com/videojs/video.js/pull/2227))
|
||||
|
||||
## 4.12.7 (2015-05-19)
|
||||
* @tjenkinson Added background-color to vjs-poster to remove transparent borders around scaled poster image ([view](https://github.com/videojs/video.js/pull/2138))
|
||||
* @bc-bbay fixed a bug where the player would try to autoplay when there was no source ([view](https://github.com/videojs/video.js/pull/2127))
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "video.js",
|
||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||
"version": "4.12.7",
|
||||
"version": "4.12.8",
|
||||
"main": [
|
||||
"dist/video-js/video.js",
|
||||
"dist/video-js/video-js.css",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "video.js",
|
||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||
"version": "4.12.7",
|
||||
"version": "4.12.8",
|
||||
"keywords": [
|
||||
"videojs",
|
||||
"html5",
|
||||
|
2
dist/video-js/video-js.css
vendored
2
dist/video-js/video-js.css
vendored
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
Video.js Default Styles (http://videojs.com)
|
||||
Version 4.12.7
|
||||
Version 4.12.8
|
||||
Create your own skin at http://designer.videojs.com
|
||||
*/
|
||||
/* SKIN
|
||||
|
2
dist/video-js/video-js.min.css
vendored
2
dist/video-js/video-js.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/video-js/video.dev.js
vendored
2
dist/video-js/video.dev.js
vendored
@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
|
||||
* Full player version
|
||||
* @type {string}
|
||||
*/
|
||||
vjs['VERSION'] = '4.12.7';
|
||||
vjs['VERSION'] = '4.12.8';
|
||||
|
||||
/**
|
||||
* Global Player instance options, surfaced from vjs.Player.prototype.options_
|
||||
|
4
dist/video-js/video.js
vendored
4
dist/video-js/video.js
vendored
@ -1,6 +1,6 @@
|
||||
/*! Video.js v4.12.7 Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */
|
||||
/*! Video.js v4.12.8 Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */
|
||||
(function() {var b=void 0,f=!0,j=null,l=!1;function m(){return function(){}}function n(a){return function(){return this[a]}}function p(a){return function(){return a}}var s;document.createElement("video");document.createElement("audio");document.createElement("track");
|
||||
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Aa[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Aa[a].I(d),t.Aa[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.ic="4.12";t.vd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.7";
|
||||
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Aa[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Aa[a].I(d),t.Aa[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.ic="4.12";t.vd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.8";
|
||||
t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2E3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.If||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."};
|
||||
"GENERATED_CDN_VSN"!==t.ic&&(videojs.options.flash.swf=t.vd+"vjs.zencdn.net/"+t.ic+"/video-js.swf");t.Jd=function(a,c){t.options.languages[a]=t.options.languages[a]!==b?t.$.ya(t.options.languages[a],c):c;return t.options.languages};t.Aa={};"function"===typeof define&&define.amd?define("videojs",[],function(){return videojs}):"object"===typeof exports&&"object"===typeof module&&(module.exports=videojs);t.Ea=t.CoreObject=m();
|
||||
t.Ea.extend=function(a){var c,d;a=a||{};c=a.init||a.l||this.prototype.init||this.prototype.l||m();d=function(){c.apply(this,arguments)};d.prototype=t.i.create(this.prototype);d.prototype.constructor=d;d.extend=t.Ea.extend;d.create=t.Ea.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};t.Ea.create=function(){var a=t.i.create(this.prototype);this.apply(a,arguments);return a};
|
||||
|
2
dist/video-js/video.novtt.dev.js
vendored
2
dist/video-js/video.novtt.dev.js
vendored
@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
|
||||
* Full player version
|
||||
* @type {string}
|
||||
*/
|
||||
vjs['VERSION'] = '4.12.7';
|
||||
vjs['VERSION'] = '4.12.8';
|
||||
|
||||
/**
|
||||
* Global Player instance options, surfaced from vjs.Player.prototype.options_
|
||||
|
2
dist/video-js/video.novtt.js
vendored
2
dist/video-js/video.novtt.js
vendored
@ -1,5 +1,5 @@
|
||||
(function() {var b=void 0,f=!0,j=null,l=!1;function m(){return function(){}}function n(a){return function(){return this[a]}}function p(a){return function(){return a}}var s;document.createElement("video");document.createElement("audio");document.createElement("track");
|
||||
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Aa[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Aa[a].I(d),t.Aa[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.ic="4.12";t.vd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.7";
|
||||
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Aa[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Aa[a].I(d),t.Aa[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.ic="4.12";t.vd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.8";
|
||||
t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2E3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.If||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."};
|
||||
"GENERATED_CDN_VSN"!==t.ic&&(videojs.options.flash.swf=t.vd+"vjs.zencdn.net/"+t.ic+"/video-js.swf");t.Jd=function(a,c){t.options.languages[a]=t.options.languages[a]!==b?t.$.ya(t.options.languages[a],c):c;return t.options.languages};t.Aa={};"function"===typeof define&&define.amd?define("videojs",[],function(){return videojs}):"object"===typeof exports&&"object"===typeof module&&(module.exports=videojs);t.Ea=t.CoreObject=m();
|
||||
t.Ea.extend=function(a){var c,d;a=a||{};c=a.init||a.l||this.prototype.init||this.prototype.l||m();d=function(){c.apply(this,arguments)};d.prototype=t.i.create(this.prototype);d.prototype.constructor=d;d.extend=t.Ea.extend;d.create=t.Ea.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};t.Ea.create=function(){var a=t.i.create(this.prototype);this.apply(a,arguments);return a};
|
||||
|
@ -43,7 +43,7 @@ _defined in_: [src/js/media/flash.js#L17](https://github.com/videojs/video.js/bl
|
||||
* __source__ `Object` The source object
|
||||
* __tech__ `vjs.Flash` The instance of the Flash tech
|
||||
|
||||
_defined in_: [src/js/media/flash.js#L223](https://github.com/videojs/video.js/blob/master/src/js/media/flash.js#L223)
|
||||
_defined in_: [src/js/media/flash.js#L232](https://github.com/videojs/video.js/blob/master/src/js/media/flash.js#L232)
|
||||
|
||||
---
|
||||
|
||||
|
@ -31,7 +31,7 @@ HTML5 Media Controller - Wrapper for HTML5 Media API
|
||||
##### RETURNS:
|
||||
* `[type]` [description]
|
||||
|
||||
_defined in_: [src/js/media/html5.js#L542](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L542)
|
||||
_defined in_: [src/js/media/html5.js#L543](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L543)
|
||||
|
||||
---
|
||||
|
||||
@ -43,7 +43,7 @@ _defined in_: [src/js/media/html5.js#L542](https://github.com/videojs/video.js/b
|
||||
##### RETURNS:
|
||||
* `Boolean`
|
||||
|
||||
_defined in_: [src/js/media/html5.js#L532](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L532)
|
||||
_defined in_: [src/js/media/html5.js#L533](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L533)
|
||||
|
||||
---
|
||||
|
||||
@ -64,7 +64,7 @@ _defined in_: [src/js/media/html5.js#L14](https://github.com/videojs/video.js/bl
|
||||
##### RETURNS:
|
||||
* `Boolean`
|
||||
|
||||
_defined in_: [src/js/media/html5.js#L452](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L452)
|
||||
_defined in_: [src/js/media/html5.js#L453](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L453)
|
||||
|
||||
---
|
||||
|
||||
@ -74,7 +74,7 @@ _defined in_: [src/js/media/html5.js#L452](https://github.com/videojs/video.js/b
|
||||
##### RETURNS:
|
||||
* `Boolean`
|
||||
|
||||
_defined in_: [src/js/media/html5.js#L552](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L552)
|
||||
_defined in_: [src/js/media/html5.js#L553](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L553)
|
||||
|
||||
---
|
||||
|
||||
@ -88,7 +88,7 @@ _defined in_: [src/js/media/html5.js#L552](https://github.com/videojs/video.js/b
|
||||
* __source__ `Object` The source object
|
||||
* __tech__ `vjs.Html5` The instance of the HTML5 tech
|
||||
|
||||
_defined in_: [src/js/media/html5.js#L472](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L472)
|
||||
_defined in_: [src/js/media/html5.js#L473](https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L473)
|
||||
|
||||
---
|
||||
|
||||
|
@ -59,6 +59,7 @@ After an instance has been created it can be accessed globally using `Video('exa
|
||||
- [remainingTime](#remainingtime)
|
||||
- [requestFullScreen](#requestfullscreen) _`deprecated`_
|
||||
- [requestFullscreen](#requestfullscreen)
|
||||
- [seekable](#seekable)
|
||||
- [seeking](#seeking)
|
||||
- [src](#src-source-)
|
||||
- [textTracks](#texttracks)
|
||||
@ -178,7 +179,7 @@ _inherited from_: [src/js/component.js#L826](https://github.com/videojs/video.js
|
||||
* __label__ `String` _(OPTIONAL)_ Optional label
|
||||
* __language__ `String` _(OPTIONAL)_ Optional language
|
||||
|
||||
_defined in_: [src/js/player.js#L1722](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1722)
|
||||
_defined in_: [src/js/player.js#L1729](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1729)
|
||||
|
||||
---
|
||||
|
||||
@ -759,7 +760,7 @@ _inherited from_: [src/js/component.js#L277](https://github.com/videojs/video.js
|
||||
##### RETURNS:
|
||||
* `Number` the current network activity state
|
||||
|
||||
_defined in_: [src/js/player.js#L1662](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1662)
|
||||
_defined in_: [src/js/player.js#L1669](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1669)
|
||||
|
||||
---
|
||||
|
||||
@ -947,7 +948,7 @@ _defined in_: [src/js/player.js#L647](https://github.com/videojs/video.js/blob/m
|
||||
* `Number` Returns the new playback rate when setting
|
||||
* `Number` Returns the current playback rate when getting
|
||||
|
||||
_defined in_: [src/js/player.js#L1606](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1606)
|
||||
_defined in_: [src/js/player.js#L1613](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1613)
|
||||
|
||||
---
|
||||
|
||||
@ -1035,7 +1036,7 @@ _inherited from_: [src/js/component.js#L769](https://github.com/videojs/video.js
|
||||
##### RETURNS:
|
||||
* `Number` the current playback rendering state
|
||||
|
||||
_defined in_: [src/js/player.js#L1687](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1687)
|
||||
_defined in_: [src/js/player.js#L1694](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1694)
|
||||
|
||||
---
|
||||
|
||||
@ -1104,6 +1105,17 @@ _defined in_: [src/js/player.js#L947](https://github.com/videojs/video.js/blob/m
|
||||
|
||||
---
|
||||
|
||||
### seekable()
|
||||
> Returns the TimeRanges of the media that are currently available
|
||||
> for seeking to.
|
||||
|
||||
##### RETURNS:
|
||||
* `TimeRanges` the seekable intervals of the media timeline
|
||||
|
||||
_defined in_: [src/js/player.js#L1477](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1477)
|
||||
|
||||
---
|
||||
|
||||
### seeking()
|
||||
> Returns whether or not the player is in the "seeking" state.
|
||||
|
||||
@ -1198,7 +1210,7 @@ _defined in_: [src/js/player.js#L1135](https://github.com/videojs/video.js/blob/
|
||||
##### RETURNS:
|
||||
* `Array` Array of track objects
|
||||
|
||||
_defined in_: [src/js/player.js#L1704](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1704)
|
||||
_defined in_: [src/js/player.js#L1711](https://github.com/videojs/video.js/blob/master/src/js/player.js#L1711)
|
||||
|
||||
---
|
||||
|
||||
|
@ -129,7 +129,7 @@ _defined in_: [src/js/core.js#L151](https://github.com/videojs/video.js/blob/mas
|
||||
##### RETURNS:
|
||||
* `Object` An object of url details
|
||||
|
||||
_defined in_: [src/js/lib.js#L676](https://github.com/videojs/video.js/blob/master/src/js/lib.js#L676)
|
||||
_defined in_: [src/js/lib.js#L688](https://github.com/videojs/video.js/blob/master/src/js/lib.js#L688)
|
||||
|
||||
---
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "video.js",
|
||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||
"version": "4.12.7",
|
||||
"version": "4.12.8",
|
||||
"copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE",
|
||||
"keywords": [
|
||||
"videojs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user