Comparar commits
11 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| fd02398462 | |||
| 6845cbedc3 | |||
| 6eba133963 | |||
| db189b73d7 | |||
| dbdc411dc2 | |||
| 94e899f810 | |||
| e2c8c125a2 | |||
| 0b26d83e99 | |||
| 8cc633edc4 | |||
| 3367b007a2 | |||
| feb7e26211 |
@@ -6,6 +6,21 @@ _(none)_
|
||||
|
||||
--------------------
|
||||
|
||||
## 5.8.6 (2016-03-25)
|
||||
* @misteroneill fixed typo and indenting in language files ([view](https://github.com/videojs/video.js/pull/3207))
|
||||
|
||||
## 5.8.5 (2016-03-17)
|
||||
* @gkatsev cleared vttjs script handlers on dispose. Fixed tests ([view](https://github.com/videojs/video.js/pull/3189))
|
||||
|
||||
## 5.8.4 (2016-03-17)
|
||||
* @gkatsev changed emulated tracks to in novtt to wait for vttjs to load or error before parsing ([view](https://github.com/videojs/video.js/pull/3181))
|
||||
|
||||
## 5.8.3 (2016-03-10)
|
||||
* @gkatsev fixed keyboard control of menus with titles. Fixes #3164 ([view](https://github.com/videojs/video.js/pull/3165))
|
||||
|
||||
## 5.8.2 (2016-03-09)
|
||||
* @gkatsev fixed chapters menu. Fixes #3062 ([view](https://github.com/videojs/video.js/pull/3163))
|
||||
|
||||
## 5.8.1 (2016-03-07)
|
||||
* @gkatsev updated videojs badges in the README ([view](https://github.com/videojs/video.js/pull/3134))
|
||||
* @BrandonOCasey converted remaining text-track modules to ES6 ([view](https://github.com/videojs/video.js/pull/3130))
|
||||
|
||||
@@ -149,6 +149,10 @@ module.exports = function(grunt) {
|
||||
},
|
||||
dist: {},
|
||||
watch: {
|
||||
novtt: {
|
||||
files: ['build/temp/video.js'],
|
||||
tasks: ['concat:novtt']
|
||||
},
|
||||
minify: {
|
||||
files: ['build/temp/video.js'],
|
||||
tasks: ['uglify']
|
||||
|
||||
+1
-1
@@ -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.1",
|
||||
"version": "5.8.6",
|
||||
"keywords": [
|
||||
"videojs",
|
||||
"html5",
|
||||
|
||||
externo
-4
@@ -1128,10 +1128,6 @@ video::-webkit-media-text-track-display {
|
||||
100% {
|
||||
border-top-color: #73859f; } }
|
||||
|
||||
.vjs-chapters-button .vjs-menu {
|
||||
left: -10em;
|
||||
width: 0; }
|
||||
|
||||
.vjs-chapters-button .vjs-menu ul {
|
||||
width: 24em; }
|
||||
|
||||
|
||||
externo
+1
-1
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+150
-114
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Video.js 5.8.1 <http://videojs.com/>
|
||||
* Video.js 5.8.6 <http://videojs.com/>
|
||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
||||
* Available under Apache License Version 2.0
|
||||
* <https://github.com/videojs/video.js/blob/master/LICENSE>
|
||||
@@ -1809,7 +1809,7 @@ module.exports = function hasSymbols() {
|
||||
return true;
|
||||
};
|
||||
|
||||
},{"object-keys":49}],44:[function(_dereq_,module,exports){
|
||||
},{"object-keys":50}],44:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
// modified from https://github.com/es-shims/es6-shim
|
||||
@@ -1850,7 +1850,7 @@ module.exports = function assign(target, source1) {
|
||||
return objTarget;
|
||||
};
|
||||
|
||||
},{"./hasSymbols":43,"function-bind":48,"object-keys":49}],45:[function(_dereq_,module,exports){
|
||||
},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var defineProperties = _dereq_('define-properties');
|
||||
@@ -1867,7 +1867,7 @@ defineProperties(implementation, {
|
||||
|
||||
module.exports = implementation;
|
||||
|
||||
},{"./implementation":44,"./polyfill":51,"./shim":52,"define-properties":46}],46:[function(_dereq_,module,exports){
|
||||
},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var keys = _dereq_('object-keys');
|
||||
@@ -1925,7 +1925,7 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
|
||||
|
||||
module.exports = defineProperties;
|
||||
|
||||
},{"foreach":47,"object-keys":49}],47:[function(_dereq_,module,exports){
|
||||
},{"foreach":47,"object-keys":50}],47:[function(_dereq_,module,exports){
|
||||
|
||||
var hasOwn = Object.prototype.hasOwnProperty;
|
||||
var toString = Object.prototype.toString;
|
||||
@@ -1962,6 +1962,7 @@ module.exports = function bind(that) {
|
||||
}
|
||||
var args = slice.call(arguments, 1);
|
||||
|
||||
var bound;
|
||||
var binder = function () {
|
||||
if (this instanceof bound) {
|
||||
var result = target.apply(
|
||||
@@ -1986,7 +1987,7 @@ module.exports = function bind(that) {
|
||||
boundArgs.push('$' + i);
|
||||
}
|
||||
|
||||
var bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
||||
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
||||
|
||||
if (target.prototype) {
|
||||
var Empty = function Empty() {};
|
||||
@@ -1998,8 +1999,12 @@ module.exports = function bind(that) {
|
||||
return bound;
|
||||
};
|
||||
|
||||
|
||||
},{}],49:[function(_dereq_,module,exports){
|
||||
var implementation = _dereq_('./implementation');
|
||||
|
||||
module.exports = Function.prototype.bind || implementation;
|
||||
|
||||
},{"./implementation":48}],50:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
// modified from https://github.com/es-shims/es5-shim
|
||||
@@ -2129,7 +2134,7 @@ keysShim.shim = function shimObjectKeys() {
|
||||
|
||||
module.exports = keysShim;
|
||||
|
||||
},{"./isArguments":50}],50:[function(_dereq_,module,exports){
|
||||
},{"./isArguments":51}],51:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var toStr = Object.prototype.toString;
|
||||
@@ -2148,7 +2153,7 @@ module.exports = function isArguments(value) {
|
||||
return isArgs;
|
||||
};
|
||||
|
||||
},{}],51:[function(_dereq_,module,exports){
|
||||
},{}],52:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var implementation = _dereq_('./implementation');
|
||||
@@ -2200,7 +2205,7 @@ module.exports = function getPolyfill() {
|
||||
return Object.assign;
|
||||
};
|
||||
|
||||
},{"./implementation":44}],52:[function(_dereq_,module,exports){
|
||||
},{"./implementation":44}],53:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var define = _dereq_('define-properties');
|
||||
@@ -2216,7 +2221,7 @@ module.exports = function shimAssign() {
|
||||
return polyfill;
|
||||
};
|
||||
|
||||
},{"./polyfill":51,"define-properties":46}],53:[function(_dereq_,module,exports){
|
||||
},{"./polyfill":52,"define-properties":46}],54:[function(_dereq_,module,exports){
|
||||
module.exports = SafeParseTuple
|
||||
|
||||
function SafeParseTuple(obj, reviver) {
|
||||
@@ -2232,7 +2237,7 @@ function SafeParseTuple(obj, reviver) {
|
||||
return [error, json]
|
||||
}
|
||||
|
||||
},{}],54:[function(_dereq_,module,exports){
|
||||
},{}],55:[function(_dereq_,module,exports){
|
||||
function clean (s) {
|
||||
return s.replace(/\n\r?\s*/g, '')
|
||||
}
|
||||
@@ -2247,7 +2252,7 @@ module.exports = function tsml (sa) {
|
||||
|
||||
return s
|
||||
}
|
||||
},{}],55:[function(_dereq_,module,exports){
|
||||
},{}],56:[function(_dereq_,module,exports){
|
||||
"use strict";
|
||||
var window = _dereq_("global/window")
|
||||
var once = _dereq_("once")
|
||||
@@ -2468,7 +2473,7 @@ function _createXHR(options) {
|
||||
|
||||
function noop() {}
|
||||
|
||||
},{"global/window":2,"is-function":56,"once":57,"parse-headers":60,"xtend":61}],56:[function(_dereq_,module,exports){
|
||||
},{"global/window":2,"is-function":57,"once":58,"parse-headers":61,"xtend":62}],57:[function(_dereq_,module,exports){
|
||||
module.exports = isFunction
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
@@ -2485,7 +2490,7 @@ function isFunction (fn) {
|
||||
fn === window.prompt))
|
||||
};
|
||||
|
||||
},{}],57:[function(_dereq_,module,exports){
|
||||
},{}],58:[function(_dereq_,module,exports){
|
||||
module.exports = once
|
||||
|
||||
once.proto = once(function () {
|
||||
@@ -2506,7 +2511,7 @@ function once (fn) {
|
||||
}
|
||||
}
|
||||
|
||||
},{}],58:[function(_dereq_,module,exports){
|
||||
},{}],59:[function(_dereq_,module,exports){
|
||||
var isFunction = _dereq_('is-function')
|
||||
|
||||
module.exports = forEach
|
||||
@@ -2554,7 +2559,7 @@ function forEachObject(object, iterator, context) {
|
||||
}
|
||||
}
|
||||
|
||||
},{"is-function":56}],59:[function(_dereq_,module,exports){
|
||||
},{"is-function":57}],60:[function(_dereq_,module,exports){
|
||||
|
||||
exports = module.exports = trim;
|
||||
|
||||
@@ -2570,7 +2575,7 @@ exports.right = function(str){
|
||||
return str.replace(/\s*$/, '');
|
||||
};
|
||||
|
||||
},{}],60:[function(_dereq_,module,exports){
|
||||
},{}],61:[function(_dereq_,module,exports){
|
||||
var trim = _dereq_('trim')
|
||||
, forEach = _dereq_('for-each')
|
||||
, isArray = function(arg) {
|
||||
@@ -2602,7 +2607,7 @@ module.exports = function (headers) {
|
||||
|
||||
return result
|
||||
}
|
||||
},{"for-each":58,"trim":59}],61:[function(_dereq_,module,exports){
|
||||
},{"for-each":59,"trim":60}],62:[function(_dereq_,module,exports){
|
||||
module.exports = extend
|
||||
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
@@ -2623,7 +2628,7 @@ function extend() {
|
||||
return target
|
||||
}
|
||||
|
||||
},{}],62:[function(_dereq_,module,exports){
|
||||
},{}],63:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file big-play-button.js
|
||||
*/
|
||||
@@ -2694,7 +2699,7 @@ _componentJs2['default'].registerComponent('BigPlayButton', BigPlayButton);
|
||||
exports['default'] = BigPlayButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./button.js":63,"./component.js":66}],63:[function(_dereq_,module,exports){
|
||||
},{"./button.js":64,"./component.js":67}],64:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file button.js
|
||||
*/
|
||||
@@ -2832,7 +2837,7 @@ _component2['default'].registerComponent('Button', Button);
|
||||
exports['default'] = Button;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./clickable-component.js":64,"./component":66,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],64:[function(_dereq_,module,exports){
|
||||
},{"./clickable-component.js":65,"./component":67,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],65:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file button.js
|
||||
*/
|
||||
@@ -3062,7 +3067,7 @@ _component2['default'].registerComponent('ClickableComponent', ClickableComponen
|
||||
exports['default'] = ClickableComponent;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],65:[function(_dereq_,module,exports){
|
||||
},{"./component":67,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],66:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -3114,7 +3119,7 @@ _component2['default'].registerComponent('CloseButton', CloseButton);
|
||||
exports['default'] = CloseButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./button":63,"./component":66}],66:[function(_dereq_,module,exports){
|
||||
},{"./button":64,"./component":67}],67:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file component.js
|
||||
*
|
||||
@@ -4622,7 +4627,7 @@ Component.registerComponent('Component', Component);
|
||||
exports['default'] = Component;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/to-title-case.js":140,"global/window":2,"object.assign":45}],67:[function(_dereq_,module,exports){
|
||||
},{"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/to-title-case.js":141,"global/window":2,"object.assign":45}],68:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file control-bar.js
|
||||
*/
|
||||
@@ -4749,7 +4754,7 @@ _componentJs2['default'].registerComponent('ControlBar', ControlBar);
|
||||
exports['default'] = ControlBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"./fullscreen-toggle.js":68,"./live-display.js":69,"./mute-toggle.js":70,"./play-toggle.js":71,"./playback-rate-menu/playback-rate-menu-button.js":72,"./progress-control/progress-control.js":77,"./spacer-controls/custom-control-spacer.js":79,"./text-track-controls/captions-button.js":82,"./text-track-controls/chapters-button.js":83,"./text-track-controls/subtitles-button.js":86,"./time-controls/current-time-display.js":89,"./time-controls/duration-display.js":90,"./time-controls/remaining-time-display.js":91,"./time-controls/time-divider.js":92,"./volume-control/volume-control.js":94,"./volume-menu-button.js":96}],68:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"./fullscreen-toggle.js":69,"./live-display.js":70,"./mute-toggle.js":71,"./play-toggle.js":72,"./playback-rate-menu/playback-rate-menu-button.js":73,"./progress-control/progress-control.js":78,"./spacer-controls/custom-control-spacer.js":80,"./text-track-controls/captions-button.js":83,"./text-track-controls/chapters-button.js":84,"./text-track-controls/subtitles-button.js":87,"./time-controls/current-time-display.js":90,"./time-controls/duration-display.js":91,"./time-controls/remaining-time-display.js":92,"./time-controls/time-divider.js":93,"./volume-control/volume-control.js":95,"./volume-menu-button.js":97}],69:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fullscreen-toggle.js
|
||||
*/
|
||||
@@ -4823,7 +4828,7 @@ _componentJs2['default'].registerComponent('FullscreenToggle', FullscreenToggle)
|
||||
exports['default'] = FullscreenToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button.js":63,"../component.js":66}],69:[function(_dereq_,module,exports){
|
||||
},{"../button.js":64,"../component.js":67}],70:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file live-display.js
|
||||
*/
|
||||
@@ -4905,7 +4910,7 @@ _component2['default'].registerComponent('LiveDisplay', LiveDisplay);
|
||||
exports['default'] = LiveDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/dom.js":131}],70:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/dom.js":132}],71:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file mute-toggle.js
|
||||
*/
|
||||
@@ -5031,7 +5036,7 @@ _component2['default'].registerComponent('MuteToggle', MuteToggle);
|
||||
exports['default'] = MuteToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button":63,"../component":66,"../utils/dom.js":131}],71:[function(_dereq_,module,exports){
|
||||
},{"../button":64,"../component":67,"../utils/dom.js":132}],72:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file play-toggle.js
|
||||
*/
|
||||
@@ -5132,7 +5137,7 @@ _componentJs2['default'].registerComponent('PlayToggle', PlayToggle);
|
||||
exports['default'] = PlayToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button.js":63,"../component.js":66}],72:[function(_dereq_,module,exports){
|
||||
},{"../button.js":64,"../component.js":67}],73:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file playback-rate-menu-button.js
|
||||
*/
|
||||
@@ -5333,7 +5338,7 @@ _componentJs2['default'].registerComponent('PlaybackRateMenuButton', PlaybackRat
|
||||
exports['default'] = PlaybackRateMenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-button.js":103,"../../menu/menu.js":105,"../../utils/dom.js":131,"./playback-rate-menu-item.js":73}],73:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-button.js":104,"../../menu/menu.js":106,"../../utils/dom.js":132,"./playback-rate-menu-item.js":74}],74:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file playback-rate-menu-item.js
|
||||
*/
|
||||
@@ -5414,7 +5419,7 @@ _componentJs2['default'].registerComponent('PlaybackRateMenuItem', PlaybackRateM
|
||||
exports['default'] = PlaybackRateMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104}],74:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105}],75:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file load-progress-bar.js
|
||||
*/
|
||||
@@ -5520,7 +5525,7 @@ _componentJs2['default'].registerComponent('LoadProgressBar', LoadProgressBar);
|
||||
exports['default'] = LoadProgressBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131}],75:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132}],76:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file mouse-time-display.js
|
||||
*/
|
||||
@@ -5622,7 +5627,7 @@ _componentJs2['default'].registerComponent('MouseTimeDisplay', MouseTimeDisplay)
|
||||
exports['default'] = MouseTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/format-time.js":134,"lodash-compat/function/throttle":7}],76:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/format-time.js":135,"lodash-compat/function/throttle":7}],77:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file play-progress-bar.js
|
||||
*/
|
||||
@@ -5697,7 +5702,7 @@ _componentJs2['default'].registerComponent('PlayProgressBar', PlayProgressBar);
|
||||
exports['default'] = PlayProgressBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/fn.js":133,"../../utils/format-time.js":134}],77:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/fn.js":134,"../../utils/format-time.js":135}],78:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file progress-control.js
|
||||
*/
|
||||
@@ -5766,7 +5771,7 @@ _componentJs2['default'].registerComponent('ProgressControl', ProgressControl);
|
||||
exports['default'] = ProgressControl;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./mouse-time-display.js":75,"./seek-bar.js":78}],78:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./mouse-time-display.js":76,"./seek-bar.js":79}],79:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file seek-bar.js
|
||||
*/
|
||||
@@ -5952,7 +5957,7 @@ _componentJs2['default'].registerComponent('SeekBar', SeekBar);
|
||||
exports['default'] = SeekBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,"../../utils/format-time.js":134,"./load-progress-bar.js":74,"./play-progress-bar.js":76,"object.assign":45}],79:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"../../utils/format-time.js":135,"./load-progress-bar.js":75,"./play-progress-bar.js":77,"object.assign":45}],80:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file custom-control-spacer.js
|
||||
*/
|
||||
@@ -6026,7 +6031,7 @@ _componentJs2['default'].registerComponent('CustomControlSpacer', CustomControlS
|
||||
exports['default'] = CustomControlSpacer;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./spacer.js":80}],80:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./spacer.js":81}],81:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file spacer.js
|
||||
*/
|
||||
@@ -6093,7 +6098,7 @@ _componentJs2['default'].registerComponent('Spacer', Spacer);
|
||||
exports['default'] = Spacer;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],81:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],82:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file caption-settings-menu-item.js
|
||||
*/
|
||||
@@ -6165,7 +6170,7 @@ _componentJs2['default'].registerComponent('CaptionSettingsMenuItem', CaptionSet
|
||||
exports['default'] = CaptionSettingsMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-menu-item.js":88}],82:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-menu-item.js":89}],83:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file captions-button.js
|
||||
*/
|
||||
@@ -6271,7 +6276,7 @@ _componentJs2['default'].registerComponent('CaptionsButton', CaptionsButton);
|
||||
exports['default'] = CaptionsButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./caption-settings-menu-item.js":81,"./text-track-button.js":87}],83:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./caption-settings-menu-item.js":82,"./text-track-button.js":88}],84:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file chapters-button.js
|
||||
*/
|
||||
@@ -6411,11 +6416,13 @@ var ChaptersButton = (function (_TextTrackButton) {
|
||||
var menu = this.menu;
|
||||
if (menu === undefined) {
|
||||
menu = new _menuMenuJs2['default'](this.player_);
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
var title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: _utilsToTitleCaseJs2['default'](this.kind_),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
if (chaptersTrack && chaptersTrack.cues == null) {
|
||||
@@ -6467,7 +6474,7 @@ _componentJs2['default'].registerComponent('ChaptersButton', ChaptersButton);
|
||||
exports['default'] = ChaptersButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu.js":105,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/to-title-case.js":140,"./chapters-track-menu-item.js":84,"./text-track-button.js":87,"./text-track-menu-item.js":88,"global/window":2}],84:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu.js":106,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/to-title-case.js":141,"./chapters-track-menu-item.js":85,"./text-track-button.js":88,"./text-track-menu-item.js":89,"global/window":2}],85:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file chapters-track-menu-item.js
|
||||
*/
|
||||
@@ -6557,7 +6564,7 @@ _componentJs2['default'].registerComponent('ChaptersTrackMenuItem', ChaptersTrac
|
||||
exports['default'] = ChaptersTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133}],85:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134}],86:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file off-text-track-menu-item.js
|
||||
*/
|
||||
@@ -6640,7 +6647,7 @@ _componentJs2['default'].registerComponent('OffTextTrackMenuItem', OffTextTrackM
|
||||
exports['default'] = OffTextTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-menu-item.js":88}],86:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-menu-item.js":89}],87:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file subtitles-button.js
|
||||
*/
|
||||
@@ -6703,7 +6710,7 @@ _componentJs2['default'].registerComponent('SubtitlesButton', SubtitlesButton);
|
||||
exports['default'] = SubtitlesButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-button.js":87}],87:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-button.js":88}],88:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-button.js
|
||||
*/
|
||||
@@ -6813,7 +6820,7 @@ _componentJs2['default'].registerComponent('TextTrackButton', TextTrackButton);
|
||||
exports['default'] = TextTrackButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-button.js":103,"../../utils/fn.js":133,"./off-text-track-menu-item.js":85,"./text-track-menu-item.js":88}],88:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-button.js":104,"../../utils/fn.js":134,"./off-text-track-menu-item.js":86,"./text-track-menu-item.js":89}],89:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-menu-item.js
|
||||
*/
|
||||
@@ -6963,7 +6970,7 @@ _componentJs2['default'].registerComponent('TextTrackMenuItem', TextTrackMenuIte
|
||||
exports['default'] = TextTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133,"global/document":1,"global/window":2}],89:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134,"global/document":1,"global/window":2}],90:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file current-time-display.js
|
||||
*/
|
||||
@@ -7060,7 +7067,7 @@ _componentJs2['default'].registerComponent('CurrentTimeDisplay', CurrentTimeDisp
|
||||
exports['default'] = CurrentTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],90:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],91:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file duration-display.js
|
||||
*/
|
||||
@@ -7162,7 +7169,7 @@ _componentJs2['default'].registerComponent('DurationDisplay', DurationDisplay);
|
||||
exports['default'] = DurationDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],91:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],92:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file remaining-time-display.js
|
||||
*/
|
||||
@@ -7263,7 +7270,7 @@ _componentJs2['default'].registerComponent('RemainingTimeDisplay', RemainingTime
|
||||
exports['default'] = RemainingTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],92:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],93:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file time-divider.js
|
||||
*/
|
||||
@@ -7321,7 +7328,7 @@ _componentJs2['default'].registerComponent('TimeDivider', TimeDivider);
|
||||
exports['default'] = TimeDivider;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],93:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],94:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-bar.js
|
||||
*/
|
||||
@@ -7471,7 +7478,7 @@ _componentJs2['default'].registerComponent('VolumeBar', VolumeBar);
|
||||
exports['default'] = VolumeBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,"./volume-level.js":95}],94:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"./volume-level.js":96}],95:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-control.js
|
||||
*/
|
||||
@@ -7549,7 +7556,7 @@ _componentJs2['default'].registerComponent('VolumeControl', VolumeControl);
|
||||
exports['default'] = VolumeControl;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./volume-bar.js":93}],95:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./volume-bar.js":94}],96:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-level.js
|
||||
*/
|
||||
@@ -7606,7 +7613,7 @@ _componentJs2['default'].registerComponent('VolumeLevel', VolumeLevel);
|
||||
exports['default'] = VolumeLevel;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],96:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],97:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-menu-button.js
|
||||
*/
|
||||
@@ -7798,7 +7805,7 @@ _componentJs2['default'].registerComponent('VolumeMenuButton', VolumeMenuButton)
|
||||
exports['default'] = VolumeMenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../popup/popup-button.js":109,"../popup/popup.js":110,"../utils/fn.js":133,"./mute-toggle.js":70,"./volume-control/volume-bar.js":93,"global/document":1}],97:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../popup/popup-button.js":110,"../popup/popup.js":111,"../utils/fn.js":134,"./mute-toggle.js":71,"./volume-control/volume-bar.js":94,"global/document":1}],98:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file error-display.js
|
||||
*/
|
||||
@@ -7892,7 +7899,7 @@ _component2['default'].registerComponent('ErrorDisplay', ErrorDisplay);
|
||||
exports['default'] = ErrorDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66,"./modal-dialog":106,"./utils/dom":131,"./utils/merge-options":137}],98:[function(_dereq_,module,exports){
|
||||
},{"./component":67,"./modal-dialog":107,"./utils/dom":132,"./utils/merge-options":138}],99:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file event-target.js
|
||||
*/
|
||||
@@ -7951,7 +7958,7 @@ EventTarget.prototype.dispatchEvent = EventTarget.prototype.trigger;
|
||||
exports['default'] = EventTarget;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/events.js":132}],99:[function(_dereq_,module,exports){
|
||||
},{"./utils/events.js":133}],100:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -8042,7 +8049,7 @@ var extendFn = function extendFn(superClass) {
|
||||
exports['default'] = extendFn;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/log":136}],100:[function(_dereq_,module,exports){
|
||||
},{"./utils/log":137}],101:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fullscreen-api.js
|
||||
*/
|
||||
@@ -8099,7 +8106,7 @@ if (browserApi) {
|
||||
exports['default'] = FullscreenApi;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"global/document":1}],101:[function(_dereq_,module,exports){
|
||||
},{"global/document":1}],102:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file loading-spinner.js
|
||||
*/
|
||||
@@ -8154,7 +8161,7 @@ _component2['default'].registerComponent('LoadingSpinner', LoadingSpinner);
|
||||
exports['default'] = LoadingSpinner;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66}],102:[function(_dereq_,module,exports){
|
||||
},{"./component":67}],103:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file media-error.js
|
||||
*/
|
||||
@@ -8245,7 +8252,7 @@ for (var errNum = 0; errNum < MediaError.errorTypes.length; errNum++) {
|
||||
exports['default'] = MediaError;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"object.assign":45}],103:[function(_dereq_,module,exports){
|
||||
},{"object.assign":45}],104:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu-button.js
|
||||
*/
|
||||
@@ -8355,11 +8362,13 @@ var MenuButton = (function (_ClickableComponent) {
|
||||
|
||||
// Add a title list item to the top
|
||||
if (this.options_.title) {
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
var title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: _utilsToTitleCaseJs2['default'](this.options_.title),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
this.items = this['createItems']();
|
||||
@@ -8520,7 +8529,7 @@ _componentJs2['default'].registerComponent('MenuButton', MenuButton);
|
||||
exports['default'] = MenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,"./menu.js":105}],104:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./menu.js":106}],105:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu-item.js
|
||||
*/
|
||||
@@ -8635,7 +8644,7 @@ _componentJs2['default'].registerComponent('MenuItem', MenuItem);
|
||||
exports['default'] = MenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"object.assign":45}],105:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],106:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu.js
|
||||
*/
|
||||
@@ -8792,7 +8801,12 @@ var Menu = (function (_Component) {
|
||||
Menu.prototype.focus = function focus() {
|
||||
var item = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];
|
||||
|
||||
var children = this.children();
|
||||
var children = this.children().slice();
|
||||
var haveTitle = children[0].className && /vjs-menu-title/.test(children[0].className);
|
||||
|
||||
if (haveTitle) {
|
||||
children.shift();
|
||||
}
|
||||
|
||||
if (children.length > 0) {
|
||||
if (item < 0) {
|
||||
@@ -8814,7 +8828,7 @@ _componentJs2['default'].registerComponent('Menu', Menu);
|
||||
exports['default'] = Menu;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],106:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],107:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file modal-dialog.js
|
||||
*/
|
||||
@@ -9237,7 +9251,7 @@ _component2['default'].registerComponent('ModalDialog', ModalDialog);
|
||||
exports['default'] = ModalDialog;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./close-button":65,"./component":66,"./utils/dom":131,"./utils/fn":133,"./utils/log":136,"global/document":1}],107:[function(_dereq_,module,exports){
|
||||
},{"./close-button":66,"./component":67,"./utils/dom":132,"./utils/fn":134,"./utils/log":137,"global/document":1}],108:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file player.js
|
||||
*/
|
||||
@@ -12299,7 +12313,7 @@ exports['default'] = Player;
|
||||
module.exports = exports['default'];
|
||||
// If empty string, make it a parsable json object.
|
||||
|
||||
},{"./big-play-button.js":62,"./component.js":66,"./control-bar/control-bar.js":67,"./error-display.js":97,"./fullscreen-api.js":100,"./loading-spinner.js":101,"./media-error.js":102,"./modal-dialog":106,"./poster-image.js":111,"./tech/html5.js":116,"./tech/loader.js":117,"./tech/tech.js":118,"./tracks/text-track-display.js":122,"./tracks/text-track-list-converter.js":124,"./tracks/text-track-settings.js":126,"./utils/browser.js":128,"./utils/buffer.js":129,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,"./utils/to-title-case.js":140,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":53}],108:[function(_dereq_,module,exports){
|
||||
},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":68,"./error-display.js":98,"./fullscreen-api.js":101,"./loading-spinner.js":102,"./media-error.js":103,"./modal-dialog":107,"./poster-image.js":112,"./tech/html5.js":117,"./tech/loader.js":118,"./tech/tech.js":119,"./tracks/text-track-display.js":123,"./tracks/text-track-list-converter.js":125,"./tracks/text-track-settings.js":127,"./utils/browser.js":129,"./utils/buffer.js":130,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/to-title-case.js":141,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],109:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file plugins.js
|
||||
*/
|
||||
@@ -12327,7 +12341,7 @@ var plugin = function plugin(name, init) {
|
||||
exports['default'] = plugin;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./player.js":107}],109:[function(_dereq_,module,exports){
|
||||
},{"./player.js":108}],110:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file popup-button.js
|
||||
*/
|
||||
@@ -12461,7 +12475,7 @@ _componentJs2['default'].registerComponent('PopupButton', PopupButton);
|
||||
exports['default'] = PopupButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,"./popup.js":110}],110:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./popup.js":111}],111:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file popup.js
|
||||
*/
|
||||
@@ -12558,7 +12572,7 @@ _componentJs2['default'].registerComponent('Popup', Popup);
|
||||
exports['default'] = Popup;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],111:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],112:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file poster-image.js
|
||||
*/
|
||||
@@ -12718,7 +12732,7 @@ _componentJs2['default'].registerComponent('PosterImage', PosterImage);
|
||||
exports['default'] = PosterImage;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./clickable-component.js":64,"./component.js":66,"./utils/browser.js":128,"./utils/dom.js":131,"./utils/fn.js":133}],112:[function(_dereq_,module,exports){
|
||||
},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":129,"./utils/dom.js":132,"./utils/fn.js":134}],113:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file setup.js
|
||||
*
|
||||
@@ -12828,7 +12842,7 @@ exports.autoSetup = autoSetup;
|
||||
exports.autoSetupTimeout = autoSetupTimeout;
|
||||
exports.hasLoaded = hasLoaded;
|
||||
|
||||
},{"./utils/events.js":132,"global/document":1,"global/window":2}],113:[function(_dereq_,module,exports){
|
||||
},{"./utils/events.js":133,"global/document":1,"global/window":2}],114:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file slider.js
|
||||
*/
|
||||
@@ -13107,7 +13121,7 @@ _componentJs2['default'].registerComponent('Slider', Slider);
|
||||
exports['default'] = Slider;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"global/document":1,"object.assign":45}],114:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"global/document":1,"object.assign":45}],115:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file flash-rtmp.js
|
||||
*/
|
||||
@@ -13226,7 +13240,7 @@ function FlashRtmpDecorator(Flash) {
|
||||
exports['default'] = FlashRtmpDecorator;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],115:[function(_dereq_,module,exports){
|
||||
},{}],116:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file flash.js
|
||||
* VideoJS-SWF - Custom Flash Player with HTML5-ish API
|
||||
@@ -13841,7 +13855,7 @@ _tech2['default'].registerTech('Flash', Flash);
|
||||
exports['default'] = Flash;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/dom.js":131,"../utils/time-ranges.js":139,"../utils/url.js":141,"./flash-rtmp":114,"./tech":118,"global/window":2,"object.assign":45}],116:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/dom.js":132,"../utils/time-ranges.js":140,"../utils/url.js":142,"./flash-rtmp":115,"./tech":119,"global/window":2,"object.assign":45}],117:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html5.js
|
||||
* HTML5 Media Controller - Wrapper for HTML5 Media API
|
||||
@@ -15136,7 +15150,7 @@ _techJs2['default'].registerTech('Html5', Html5);
|
||||
exports['default'] = Html5;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/browser.js":128,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/url.js":141,"./tech.js":118,"global/document":1,"global/window":2,"object.assign":45}],117:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/browser.js":129,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/url.js":142,"./tech.js":119,"global/document":1,"global/window":2,"object.assign":45}],118:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file loader.js
|
||||
*/
|
||||
@@ -15220,7 +15234,7 @@ _componentJs2['default'].registerComponent('MediaLoader', MediaLoader);
|
||||
exports['default'] = MediaLoader;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/to-title-case.js":140,"./tech.js":118,"global/window":2}],118:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/to-title-case.js":141,"./tech.js":119,"global/window":2}],119:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file tech.js
|
||||
* Media Technology Controller - Base class for media playback
|
||||
@@ -15636,10 +15650,22 @@ var Tech = (function (_Component) {
|
||||
}
|
||||
|
||||
if (!_globalWindow2['default']['WebVTT'] && this.el().parentNode != null) {
|
||||
var script = _globalDocument2['default'].createElement('script');
|
||||
script.src = this.options_['vtt.js'] || 'https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js';
|
||||
this.el().parentNode.appendChild(script);
|
||||
_globalWindow2['default']['WebVTT'] = true;
|
||||
(function () {
|
||||
var script = _globalDocument2['default'].createElement('script');
|
||||
script.src = _this.options_['vtt.js'] || 'https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js';
|
||||
script.onload = function () {
|
||||
_this.trigger('vttjsloaded');
|
||||
};
|
||||
script.onerror = function () {
|
||||
_this.trigger('vttjserror');
|
||||
};
|
||||
_this.on('dispose', function () {
|
||||
script.onload = null;
|
||||
script.onerror = null;
|
||||
});
|
||||
_this.el().parentNode.appendChild(script);
|
||||
_globalWindow2['default']['WebVTT'] = true;
|
||||
})();
|
||||
}
|
||||
|
||||
var updateDisplay = function updateDisplay() {
|
||||
@@ -16044,7 +16070,7 @@ Tech.registerTech('Tech', Tech);
|
||||
exports['default'] = Tech;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../media-error.js":102,"../tracks/html-track-element":120,"../tracks/html-track-element-list":119,"../tracks/text-track":127,"../tracks/text-track-list":125,"../utils/buffer.js":129,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/time-ranges.js":139,"global/document":1,"global/window":2}],119:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../media-error.js":103,"../tracks/html-track-element":121,"../tracks/html-track-element-list":120,"../tracks/text-track":128,"../tracks/text-track-list":126,"../utils/buffer.js":130,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/time-ranges.js":140,"global/document":1,"global/window":2}],120:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html-track-element-list.js
|
||||
*/
|
||||
@@ -16136,7 +16162,7 @@ var HtmlTrackElementList = (function () {
|
||||
exports['default'] = HtmlTrackElementList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../utils/browser.js":128,"global/document":1}],120:[function(_dereq_,module,exports){
|
||||
},{"../utils/browser.js":129,"global/document":1}],121:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html-track-element.js
|
||||
*/
|
||||
@@ -16271,7 +16297,7 @@ HTMLTrackElement.ERROR = ERROR;
|
||||
exports['default'] = HTMLTrackElement;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../tracks/text-track":127,"../utils/browser.js":128,"global/document":1}],121:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../tracks/text-track":128,"../utils/browser.js":129,"global/document":1}],122:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-cue-list.js
|
||||
*/
|
||||
@@ -16400,7 +16426,7 @@ var TextTrackCueList = (function () {
|
||||
exports['default'] = TextTrackCueList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../utils/browser.js":128,"global/document":1}],122:[function(_dereq_,module,exports){
|
||||
},{"../utils/browser.js":129,"global/document":1}],123:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-display.js
|
||||
*/
|
||||
@@ -16676,7 +16702,7 @@ _component2['default'].registerComponent('TextTrackDisplay', TextTrackDisplay);
|
||||
exports['default'] = TextTrackDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../menu/menu-button.js":103,"../menu/menu-item.js":104,"../menu/menu.js":105,"../utils/fn.js":133,"global/document":1,"global/window":2}],123:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../menu/menu-button.js":104,"../menu/menu-item.js":105,"../menu/menu.js":106,"../utils/fn.js":134,"global/document":1,"global/window":2}],124:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-enums.js
|
||||
*/
|
||||
@@ -16722,7 +16748,7 @@ exports.TextTrackKind = TextTrackKind;
|
||||
|
||||
/* jshint ignore:end */
|
||||
|
||||
},{}],124:[function(_dereq_,module,exports){
|
||||
},{}],125:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* Utilities for capturing text track state and re-creating tracks
|
||||
* based on a capture.
|
||||
@@ -16813,7 +16839,7 @@ var jsonToTextTracks = function jsonToTextTracks(json, tech) {
|
||||
exports['default'] = { textTracksToJson: textTracksToJson, jsonToTextTracks: jsonToTextTracks, trackToJson_: trackToJson_ };
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],125:[function(_dereq_,module,exports){
|
||||
},{}],126:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-list.js
|
||||
*/
|
||||
@@ -17014,7 +17040,7 @@ for (var _event in TextTrackList.prototype.allowedEvents_) {
|
||||
exports['default'] = TextTrackList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"global/document":1}],126:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"global/document":1}],127:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-settings.js
|
||||
*/
|
||||
@@ -17311,7 +17337,7 @@ function captionOptionsMenuTemplate() {
|
||||
exports['default'] = TextTrackSettings;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/events.js":132,"../utils/fn.js":133,"../utils/log.js":136,"global/window":2,"safe-json-parse/tuple":53}],127:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/events.js":133,"../utils/fn.js":134,"../utils/log.js":137,"global/window":2,"safe-json-parse/tuple":54}],128:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track.js
|
||||
*/
|
||||
@@ -17420,11 +17446,21 @@ var loadTrack = function loadTrack(src, track) {
|
||||
|
||||
track.loaded_ = true;
|
||||
|
||||
// Make sure that vttjs has loaded, otherwise, wait till it finished loading
|
||||
// NOTE: this is only used for the alt/video.novtt.js build
|
||||
if (typeof _globalWindow2['default'].WebVTT !== 'function') {
|
||||
_globalWindow2['default'].setTimeout(function () {
|
||||
parseCues(responseBody, track);
|
||||
}, 100);
|
||||
if (track.tech_) {
|
||||
(function () {
|
||||
var loadHandler = function loadHandler() {
|
||||
return parseCues(responseBody, track);
|
||||
};
|
||||
track.tech_.on('vttjsloaded', loadHandler);
|
||||
track.tech_.on('vttjserror', function () {
|
||||
_utilsLogJs2['default'].error('vttjs failed to load, stopping trying to process ' + track.src);
|
||||
track.tech_.off('vttjsloaded', loadHandler);
|
||||
});
|
||||
})();
|
||||
}
|
||||
} else {
|
||||
parseCues(responseBody, track);
|
||||
}
|
||||
@@ -17685,7 +17721,7 @@ TextTrack.prototype.allowedEvents_ = {
|
||||
exports['default'] = TextTrack;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"../utils/guid.js":135,"../utils/log.js":136,"../utils/url.js":141,"./text-track-cue-list":121,"./text-track-enums":123,"global/document":1,"global/window":2,"xhr":55}],128:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"../utils/guid.js":136,"../utils/log.js":137,"../utils/url.js":142,"./text-track-cue-list":122,"./text-track-enums":124,"global/document":1,"global/window":2,"xhr":56}],129:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file browser.js
|
||||
*/
|
||||
@@ -17778,7 +17814,7 @@ exports.TOUCH_ENABLED = TOUCH_ENABLED;
|
||||
var BACKGROUND_SIZE_SUPPORTED = ('backgroundSize' in _globalDocument2['default'].createElement('video').style);
|
||||
exports.BACKGROUND_SIZE_SUPPORTED = BACKGROUND_SIZE_SUPPORTED;
|
||||
|
||||
},{"global/document":1,"global/window":2}],129:[function(_dereq_,module,exports){
|
||||
},{"global/document":1,"global/window":2}],130:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file buffer.js
|
||||
*/
|
||||
@@ -17827,7 +17863,7 @@ function bufferedPercent(buffered, duration) {
|
||||
return bufferedDuration / duration;
|
||||
}
|
||||
|
||||
},{"./time-ranges.js":139}],130:[function(_dereq_,module,exports){
|
||||
},{"./time-ranges.js":140}],131:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -17898,7 +17934,7 @@ exports['default'] = function (target) {
|
||||
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./log.js":136}],131:[function(_dereq_,module,exports){
|
||||
},{"./log.js":137}],132:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file dom.js
|
||||
*/
|
||||
@@ -18628,7 +18664,7 @@ exports.$ = $;
|
||||
var $$ = createQuerier('querySelectorAll');
|
||||
exports.$$ = $$;
|
||||
|
||||
},{"./guid.js":135,"./log.js":136,"global/document":1,"global/window":2,"tsml":54}],132:[function(_dereq_,module,exports){
|
||||
},{"./guid.js":136,"./log.js":137,"global/document":1,"global/window":2,"tsml":55}],133:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file events.js
|
||||
*
|
||||
@@ -19036,7 +19072,7 @@ function _handleMultipleEvents(fn, elem, types, callback) {
|
||||
});
|
||||
}
|
||||
|
||||
},{"./dom.js":131,"./guid.js":135,"global/document":1,"global/window":2}],133:[function(_dereq_,module,exports){
|
||||
},{"./dom.js":132,"./guid.js":136,"global/document":1,"global/window":2}],134:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fn.js
|
||||
*/
|
||||
@@ -19080,7 +19116,7 @@ var bind = function bind(context, fn, uid) {
|
||||
};
|
||||
exports.bind = bind;
|
||||
|
||||
},{"./guid.js":135}],134:[function(_dereq_,module,exports){
|
||||
},{"./guid.js":136}],135:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file format-time.js
|
||||
*
|
||||
@@ -19131,7 +19167,7 @@ function formatTime(seconds) {
|
||||
exports['default'] = formatTime;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],135:[function(_dereq_,module,exports){
|
||||
},{}],136:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file guid.js
|
||||
*
|
||||
@@ -19156,7 +19192,7 @@ function newGUID() {
|
||||
return _guid++;
|
||||
}
|
||||
|
||||
},{}],136:[function(_dereq_,module,exports){
|
||||
},{}],137:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file log.js
|
||||
*/
|
||||
@@ -19246,7 +19282,7 @@ function _logType(type, args) {
|
||||
exports['default'] = log;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"global/window":2}],137:[function(_dereq_,module,exports){
|
||||
},{"global/window":2}],138:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file merge-options.js
|
||||
*/
|
||||
@@ -19317,7 +19353,7 @@ function mergeOptions() {
|
||||
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"lodash-compat/object/merge":40}],138:[function(_dereq_,module,exports){
|
||||
},{"lodash-compat/object/merge":40}],139:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -19345,7 +19381,7 @@ var setTextContent = function setTextContent(el, content) {
|
||||
};
|
||||
exports.setTextContent = setTextContent;
|
||||
|
||||
},{"global/document":1}],139:[function(_dereq_,module,exports){
|
||||
},{"global/document":1}],140:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -19416,7 +19452,7 @@ function rangeCheck(fnName, index, maxIndex) {
|
||||
}
|
||||
}
|
||||
|
||||
},{"./log.js":136}],140:[function(_dereq_,module,exports){
|
||||
},{"./log.js":137}],141:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file to-title-case.js
|
||||
*
|
||||
@@ -19437,7 +19473,7 @@ function toTitleCase(string) {
|
||||
exports["default"] = toTitleCase;
|
||||
module.exports = exports["default"];
|
||||
|
||||
},{}],141:[function(_dereq_,module,exports){
|
||||
},{}],142:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file url.js
|
||||
*/
|
||||
@@ -19573,7 +19609,7 @@ var isCrossOrigin = function isCrossOrigin(url) {
|
||||
};
|
||||
exports.isCrossOrigin = isCrossOrigin;
|
||||
|
||||
},{"global/document":1,"global/window":2}],142:[function(_dereq_,module,exports){
|
||||
},{"global/document":1,"global/window":2}],143:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file video.js
|
||||
*/
|
||||
@@ -19772,7 +19808,7 @@ setup.autoSetupTimeout(1, videojs);
|
||||
*
|
||||
* @type {String}
|
||||
*/
|
||||
videojs.VERSION = '5.8.1';
|
||||
videojs.VERSION = '5.8.6';
|
||||
|
||||
/**
|
||||
* The global options object. These are the settings that take effect
|
||||
@@ -20369,7 +20405,7 @@ if (typeof define === 'function' && define['amd']) {
|
||||
exports['default'] = videojs;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../src/js/utils/merge-options.js":137,"./component":66,"./event-target":98,"./extend.js":99,"./player":107,"./plugins.js":108,"./setup":112,"./tech/flash.js":115,"./tech/html5.js":116,"./tech/tech.js":118,"./tracks/text-track.js":127,"./utils/browser.js":128,"./utils/create-deprecation-proxy.js":130,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/format-time.js":134,"./utils/log.js":136,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,"./utils/url.js":141,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,"xhr":55}]},{},[142])(142)
|
||||
},{"../../src/js/utils/merge-options.js":138,"./component":67,"./event-target":99,"./extend.js":100,"./player":108,"./plugins.js":109,"./setup":113,"./tech/flash.js":116,"./tech/html5.js":117,"./tech/tech.js":119,"./tracks/text-track.js":128,"./utils/browser.js":129,"./utils/create-deprecation-proxy.js":131,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/format-time.js":135,"./utils/log.js":137,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/url.js":142,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,"xhr":56}]},{},[143])(143)
|
||||
});
|
||||
|
||||
|
||||
|
||||
externo
+9
-11
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+1
-1
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+1
-1
@@ -23,7 +23,7 @@ videojs.addLanguage("de",{
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.",
|
||||
"No compatible source was found for this media.": "Für dieses Video wurde keine kompatible Quelle gefunden.",
|
||||
"Play video": "Video abspielen",
|
||||
"Play Video": "Video abspielen",
|
||||
"Close": "Schließen",
|
||||
"Modal Window": "Modales Fenster",
|
||||
"This is a modal window": "Dies ist ein modales Fenster",
|
||||
|
||||
externo
+1
-1
@@ -23,7 +23,7 @@ videojs.addLanguage("en",{
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "The media could not be loaded, either because the server or network failed or because the format is not supported.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",
|
||||
"No compatible source was found for this media.": "No compatible source was found for this media.",
|
||||
"Play video": "Play video",
|
||||
"Play Video": "Play Video",
|
||||
"Close": "Close",
|
||||
"Modal Window": "Modal Window",
|
||||
"This is a modal window": "This is a modal window",
|
||||
|
||||
externo
+1
-1
@@ -23,7 +23,7 @@ videojs.addLanguage("tr",{
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.",
|
||||
"No compatible source was found for this media.": "Video için kaynak bulunamadı.",
|
||||
"Play video": "Videoyu Oynat",
|
||||
"Play Video": "Videoyu Oynat",
|
||||
"Close": "Kapat",
|
||||
"Modal Window": "Modal Penceresi",
|
||||
"This is a modal window": "Bu bir modal penceresidir",
|
||||
|
||||
Arquivo binário não exibido.
externo
-7
@@ -9,9 +9,6 @@
|
||||
.video-js .vjs-big-play-button:before, .video-js .vjs-control:before {
|
||||
text-align: center; }
|
||||
|
||||
.video-js {
|
||||
color: blue; }
|
||||
|
||||
@font-face {
|
||||
font-family: VideoJS;
|
||||
src: url("font/VideoJS.eot?#iefix") format("eot"); }
|
||||
@@ -1131,10 +1128,6 @@ video::-webkit-media-text-track-display {
|
||||
100% {
|
||||
border-top-color: #73859f; } }
|
||||
|
||||
.vjs-chapters-button .vjs-menu {
|
||||
left: -10em;
|
||||
width: 0; }
|
||||
|
||||
.vjs-chapters-button .vjs-menu ul {
|
||||
width: 24em; }
|
||||
|
||||
|
||||
externo
+1
-1
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+150
-114
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Video.js 5.8.1 <http://videojs.com/>
|
||||
* Video.js 5.8.6 <http://videojs.com/>
|
||||
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
||||
* Available under Apache License Version 2.0
|
||||
* <https://github.com/videojs/video.js/blob/master/LICENSE>
|
||||
@@ -1813,7 +1813,7 @@ module.exports = function hasSymbols() {
|
||||
return true;
|
||||
};
|
||||
|
||||
},{"object-keys":49}],44:[function(_dereq_,module,exports){
|
||||
},{"object-keys":50}],44:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
// modified from https://github.com/es-shims/es6-shim
|
||||
@@ -1854,7 +1854,7 @@ module.exports = function assign(target, source1) {
|
||||
return objTarget;
|
||||
};
|
||||
|
||||
},{"./hasSymbols":43,"function-bind":48,"object-keys":49}],45:[function(_dereq_,module,exports){
|
||||
},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var defineProperties = _dereq_('define-properties');
|
||||
@@ -1871,7 +1871,7 @@ defineProperties(implementation, {
|
||||
|
||||
module.exports = implementation;
|
||||
|
||||
},{"./implementation":44,"./polyfill":51,"./shim":52,"define-properties":46}],46:[function(_dereq_,module,exports){
|
||||
},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var keys = _dereq_('object-keys');
|
||||
@@ -1929,7 +1929,7 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
|
||||
|
||||
module.exports = defineProperties;
|
||||
|
||||
},{"foreach":47,"object-keys":49}],47:[function(_dereq_,module,exports){
|
||||
},{"foreach":47,"object-keys":50}],47:[function(_dereq_,module,exports){
|
||||
|
||||
var hasOwn = Object.prototype.hasOwnProperty;
|
||||
var toString = Object.prototype.toString;
|
||||
@@ -1966,6 +1966,7 @@ module.exports = function bind(that) {
|
||||
}
|
||||
var args = slice.call(arguments, 1);
|
||||
|
||||
var bound;
|
||||
var binder = function () {
|
||||
if (this instanceof bound) {
|
||||
var result = target.apply(
|
||||
@@ -1990,7 +1991,7 @@ module.exports = function bind(that) {
|
||||
boundArgs.push('$' + i);
|
||||
}
|
||||
|
||||
var bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
||||
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
||||
|
||||
if (target.prototype) {
|
||||
var Empty = function Empty() {};
|
||||
@@ -2002,8 +2003,12 @@ module.exports = function bind(that) {
|
||||
return bound;
|
||||
};
|
||||
|
||||
|
||||
},{}],49:[function(_dereq_,module,exports){
|
||||
var implementation = _dereq_('./implementation');
|
||||
|
||||
module.exports = Function.prototype.bind || implementation;
|
||||
|
||||
},{"./implementation":48}],50:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
// modified from https://github.com/es-shims/es5-shim
|
||||
@@ -2133,7 +2138,7 @@ keysShim.shim = function shimObjectKeys() {
|
||||
|
||||
module.exports = keysShim;
|
||||
|
||||
},{"./isArguments":50}],50:[function(_dereq_,module,exports){
|
||||
},{"./isArguments":51}],51:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var toStr = Object.prototype.toString;
|
||||
@@ -2152,7 +2157,7 @@ module.exports = function isArguments(value) {
|
||||
return isArgs;
|
||||
};
|
||||
|
||||
},{}],51:[function(_dereq_,module,exports){
|
||||
},{}],52:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var implementation = _dereq_('./implementation');
|
||||
@@ -2204,7 +2209,7 @@ module.exports = function getPolyfill() {
|
||||
return Object.assign;
|
||||
};
|
||||
|
||||
},{"./implementation":44}],52:[function(_dereq_,module,exports){
|
||||
},{"./implementation":44}],53:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
var define = _dereq_('define-properties');
|
||||
@@ -2220,7 +2225,7 @@ module.exports = function shimAssign() {
|
||||
return polyfill;
|
||||
};
|
||||
|
||||
},{"./polyfill":51,"define-properties":46}],53:[function(_dereq_,module,exports){
|
||||
},{"./polyfill":52,"define-properties":46}],54:[function(_dereq_,module,exports){
|
||||
module.exports = SafeParseTuple
|
||||
|
||||
function SafeParseTuple(obj, reviver) {
|
||||
@@ -2236,7 +2241,7 @@ function SafeParseTuple(obj, reviver) {
|
||||
return [error, json]
|
||||
}
|
||||
|
||||
},{}],54:[function(_dereq_,module,exports){
|
||||
},{}],55:[function(_dereq_,module,exports){
|
||||
function clean (s) {
|
||||
return s.replace(/\n\r?\s*/g, '')
|
||||
}
|
||||
@@ -2251,7 +2256,7 @@ module.exports = function tsml (sa) {
|
||||
|
||||
return s
|
||||
}
|
||||
},{}],55:[function(_dereq_,module,exports){
|
||||
},{}],56:[function(_dereq_,module,exports){
|
||||
"use strict";
|
||||
var window = _dereq_("global/window")
|
||||
var once = _dereq_("once")
|
||||
@@ -2472,7 +2477,7 @@ function _createXHR(options) {
|
||||
|
||||
function noop() {}
|
||||
|
||||
},{"global/window":2,"is-function":56,"once":57,"parse-headers":60,"xtend":61}],56:[function(_dereq_,module,exports){
|
||||
},{"global/window":2,"is-function":57,"once":58,"parse-headers":61,"xtend":62}],57:[function(_dereq_,module,exports){
|
||||
module.exports = isFunction
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
@@ -2489,7 +2494,7 @@ function isFunction (fn) {
|
||||
fn === window.prompt))
|
||||
};
|
||||
|
||||
},{}],57:[function(_dereq_,module,exports){
|
||||
},{}],58:[function(_dereq_,module,exports){
|
||||
module.exports = once
|
||||
|
||||
once.proto = once(function () {
|
||||
@@ -2510,7 +2515,7 @@ function once (fn) {
|
||||
}
|
||||
}
|
||||
|
||||
},{}],58:[function(_dereq_,module,exports){
|
||||
},{}],59:[function(_dereq_,module,exports){
|
||||
var isFunction = _dereq_('is-function')
|
||||
|
||||
module.exports = forEach
|
||||
@@ -2558,7 +2563,7 @@ function forEachObject(object, iterator, context) {
|
||||
}
|
||||
}
|
||||
|
||||
},{"is-function":56}],59:[function(_dereq_,module,exports){
|
||||
},{"is-function":57}],60:[function(_dereq_,module,exports){
|
||||
|
||||
exports = module.exports = trim;
|
||||
|
||||
@@ -2574,7 +2579,7 @@ exports.right = function(str){
|
||||
return str.replace(/\s*$/, '');
|
||||
};
|
||||
|
||||
},{}],60:[function(_dereq_,module,exports){
|
||||
},{}],61:[function(_dereq_,module,exports){
|
||||
var trim = _dereq_('trim')
|
||||
, forEach = _dereq_('for-each')
|
||||
, isArray = function(arg) {
|
||||
@@ -2606,7 +2611,7 @@ module.exports = function (headers) {
|
||||
|
||||
return result
|
||||
}
|
||||
},{"for-each":58,"trim":59}],61:[function(_dereq_,module,exports){
|
||||
},{"for-each":59,"trim":60}],62:[function(_dereq_,module,exports){
|
||||
module.exports = extend
|
||||
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
@@ -2627,7 +2632,7 @@ function extend() {
|
||||
return target
|
||||
}
|
||||
|
||||
},{}],62:[function(_dereq_,module,exports){
|
||||
},{}],63:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file big-play-button.js
|
||||
*/
|
||||
@@ -2698,7 +2703,7 @@ _componentJs2['default'].registerComponent('BigPlayButton', BigPlayButton);
|
||||
exports['default'] = BigPlayButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./button.js":63,"./component.js":66}],63:[function(_dereq_,module,exports){
|
||||
},{"./button.js":64,"./component.js":67}],64:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file button.js
|
||||
*/
|
||||
@@ -2836,7 +2841,7 @@ _component2['default'].registerComponent('Button', Button);
|
||||
exports['default'] = Button;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./clickable-component.js":64,"./component":66,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],64:[function(_dereq_,module,exports){
|
||||
},{"./clickable-component.js":65,"./component":67,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],65:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file button.js
|
||||
*/
|
||||
@@ -3066,7 +3071,7 @@ _component2['default'].registerComponent('ClickableComponent', ClickableComponen
|
||||
exports['default'] = ClickableComponent;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/log.js":136,"global/document":1,"object.assign":45}],65:[function(_dereq_,module,exports){
|
||||
},{"./component":67,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],66:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -3118,7 +3123,7 @@ _component2['default'].registerComponent('CloseButton', CloseButton);
|
||||
exports['default'] = CloseButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./button":63,"./component":66}],66:[function(_dereq_,module,exports){
|
||||
},{"./button":64,"./component":67}],67:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file component.js
|
||||
*
|
||||
@@ -4626,7 +4631,7 @@ Component.registerComponent('Component', Component);
|
||||
exports['default'] = Component;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/to-title-case.js":140,"global/window":2,"object.assign":45}],67:[function(_dereq_,module,exports){
|
||||
},{"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/to-title-case.js":141,"global/window":2,"object.assign":45}],68:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file control-bar.js
|
||||
*/
|
||||
@@ -4753,7 +4758,7 @@ _componentJs2['default'].registerComponent('ControlBar', ControlBar);
|
||||
exports['default'] = ControlBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"./fullscreen-toggle.js":68,"./live-display.js":69,"./mute-toggle.js":70,"./play-toggle.js":71,"./playback-rate-menu/playback-rate-menu-button.js":72,"./progress-control/progress-control.js":77,"./spacer-controls/custom-control-spacer.js":79,"./text-track-controls/captions-button.js":82,"./text-track-controls/chapters-button.js":83,"./text-track-controls/subtitles-button.js":86,"./time-controls/current-time-display.js":89,"./time-controls/duration-display.js":90,"./time-controls/remaining-time-display.js":91,"./time-controls/time-divider.js":92,"./volume-control/volume-control.js":94,"./volume-menu-button.js":96}],68:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"./fullscreen-toggle.js":69,"./live-display.js":70,"./mute-toggle.js":71,"./play-toggle.js":72,"./playback-rate-menu/playback-rate-menu-button.js":73,"./progress-control/progress-control.js":78,"./spacer-controls/custom-control-spacer.js":80,"./text-track-controls/captions-button.js":83,"./text-track-controls/chapters-button.js":84,"./text-track-controls/subtitles-button.js":87,"./time-controls/current-time-display.js":90,"./time-controls/duration-display.js":91,"./time-controls/remaining-time-display.js":92,"./time-controls/time-divider.js":93,"./volume-control/volume-control.js":95,"./volume-menu-button.js":97}],69:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fullscreen-toggle.js
|
||||
*/
|
||||
@@ -4827,7 +4832,7 @@ _componentJs2['default'].registerComponent('FullscreenToggle', FullscreenToggle)
|
||||
exports['default'] = FullscreenToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button.js":63,"../component.js":66}],69:[function(_dereq_,module,exports){
|
||||
},{"../button.js":64,"../component.js":67}],70:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file live-display.js
|
||||
*/
|
||||
@@ -4909,7 +4914,7 @@ _component2['default'].registerComponent('LiveDisplay', LiveDisplay);
|
||||
exports['default'] = LiveDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/dom.js":131}],70:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/dom.js":132}],71:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file mute-toggle.js
|
||||
*/
|
||||
@@ -5035,7 +5040,7 @@ _component2['default'].registerComponent('MuteToggle', MuteToggle);
|
||||
exports['default'] = MuteToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button":63,"../component":66,"../utils/dom.js":131}],71:[function(_dereq_,module,exports){
|
||||
},{"../button":64,"../component":67,"../utils/dom.js":132}],72:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file play-toggle.js
|
||||
*/
|
||||
@@ -5136,7 +5141,7 @@ _componentJs2['default'].registerComponent('PlayToggle', PlayToggle);
|
||||
exports['default'] = PlayToggle;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../button.js":63,"../component.js":66}],72:[function(_dereq_,module,exports){
|
||||
},{"../button.js":64,"../component.js":67}],73:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file playback-rate-menu-button.js
|
||||
*/
|
||||
@@ -5337,7 +5342,7 @@ _componentJs2['default'].registerComponent('PlaybackRateMenuButton', PlaybackRat
|
||||
exports['default'] = PlaybackRateMenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-button.js":103,"../../menu/menu.js":105,"../../utils/dom.js":131,"./playback-rate-menu-item.js":73}],73:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-button.js":104,"../../menu/menu.js":106,"../../utils/dom.js":132,"./playback-rate-menu-item.js":74}],74:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file playback-rate-menu-item.js
|
||||
*/
|
||||
@@ -5418,7 +5423,7 @@ _componentJs2['default'].registerComponent('PlaybackRateMenuItem', PlaybackRateM
|
||||
exports['default'] = PlaybackRateMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104}],74:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105}],75:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file load-progress-bar.js
|
||||
*/
|
||||
@@ -5524,7 +5529,7 @@ _componentJs2['default'].registerComponent('LoadProgressBar', LoadProgressBar);
|
||||
exports['default'] = LoadProgressBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131}],75:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132}],76:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file mouse-time-display.js
|
||||
*/
|
||||
@@ -5626,7 +5631,7 @@ _componentJs2['default'].registerComponent('MouseTimeDisplay', MouseTimeDisplay)
|
||||
exports['default'] = MouseTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/format-time.js":134,"lodash-compat/function/throttle":7}],76:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/format-time.js":135,"lodash-compat/function/throttle":7}],77:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file play-progress-bar.js
|
||||
*/
|
||||
@@ -5701,7 +5706,7 @@ _componentJs2['default'].registerComponent('PlayProgressBar', PlayProgressBar);
|
||||
exports['default'] = PlayProgressBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/fn.js":133,"../../utils/format-time.js":134}],77:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/fn.js":134,"../../utils/format-time.js":135}],78:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file progress-control.js
|
||||
*/
|
||||
@@ -5770,7 +5775,7 @@ _componentJs2['default'].registerComponent('ProgressControl', ProgressControl);
|
||||
exports['default'] = ProgressControl;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./mouse-time-display.js":75,"./seek-bar.js":78}],78:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./mouse-time-display.js":76,"./seek-bar.js":79}],79:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file seek-bar.js
|
||||
*/
|
||||
@@ -5956,7 +5961,7 @@ _componentJs2['default'].registerComponent('SeekBar', SeekBar);
|
||||
exports['default'] = SeekBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,"../../utils/format-time.js":134,"./load-progress-bar.js":74,"./play-progress-bar.js":76,"object.assign":45}],79:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"../../utils/format-time.js":135,"./load-progress-bar.js":75,"./play-progress-bar.js":77,"object.assign":45}],80:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file custom-control-spacer.js
|
||||
*/
|
||||
@@ -6030,7 +6035,7 @@ _componentJs2['default'].registerComponent('CustomControlSpacer', CustomControlS
|
||||
exports['default'] = CustomControlSpacer;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./spacer.js":80}],80:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./spacer.js":81}],81:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file spacer.js
|
||||
*/
|
||||
@@ -6097,7 +6102,7 @@ _componentJs2['default'].registerComponent('Spacer', Spacer);
|
||||
exports['default'] = Spacer;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],81:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],82:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file caption-settings-menu-item.js
|
||||
*/
|
||||
@@ -6169,7 +6174,7 @@ _componentJs2['default'].registerComponent('CaptionSettingsMenuItem', CaptionSet
|
||||
exports['default'] = CaptionSettingsMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-menu-item.js":88}],82:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-menu-item.js":89}],83:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file captions-button.js
|
||||
*/
|
||||
@@ -6275,7 +6280,7 @@ _componentJs2['default'].registerComponent('CaptionsButton', CaptionsButton);
|
||||
exports['default'] = CaptionsButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./caption-settings-menu-item.js":81,"./text-track-button.js":87}],83:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./caption-settings-menu-item.js":82,"./text-track-button.js":88}],84:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file chapters-button.js
|
||||
*/
|
||||
@@ -6415,11 +6420,13 @@ var ChaptersButton = (function (_TextTrackButton) {
|
||||
var menu = this.menu;
|
||||
if (menu === undefined) {
|
||||
menu = new _menuMenuJs2['default'](this.player_);
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
var title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: _utilsToTitleCaseJs2['default'](this.kind_),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
if (chaptersTrack && chaptersTrack.cues == null) {
|
||||
@@ -6471,7 +6478,7 @@ _componentJs2['default'].registerComponent('ChaptersButton', ChaptersButton);
|
||||
exports['default'] = ChaptersButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu.js":105,"../../utils/dom.js":131,"../../utils/fn.js":133,"../../utils/to-title-case.js":140,"./chapters-track-menu-item.js":84,"./text-track-button.js":87,"./text-track-menu-item.js":88,"global/window":2}],84:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu.js":106,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/to-title-case.js":141,"./chapters-track-menu-item.js":85,"./text-track-button.js":88,"./text-track-menu-item.js":89,"global/window":2}],85:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file chapters-track-menu-item.js
|
||||
*/
|
||||
@@ -6561,7 +6568,7 @@ _componentJs2['default'].registerComponent('ChaptersTrackMenuItem', ChaptersTrac
|
||||
exports['default'] = ChaptersTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133}],85:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134}],86:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file off-text-track-menu-item.js
|
||||
*/
|
||||
@@ -6644,7 +6651,7 @@ _componentJs2['default'].registerComponent('OffTextTrackMenuItem', OffTextTrackM
|
||||
exports['default'] = OffTextTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-menu-item.js":88}],86:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-menu-item.js":89}],87:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file subtitles-button.js
|
||||
*/
|
||||
@@ -6707,7 +6714,7 @@ _componentJs2['default'].registerComponent('SubtitlesButton', SubtitlesButton);
|
||||
exports['default'] = SubtitlesButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./text-track-button.js":87}],87:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./text-track-button.js":88}],88:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-button.js
|
||||
*/
|
||||
@@ -6817,7 +6824,7 @@ _componentJs2['default'].registerComponent('TextTrackButton', TextTrackButton);
|
||||
exports['default'] = TextTrackButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-button.js":103,"../../utils/fn.js":133,"./off-text-track-menu-item.js":85,"./text-track-menu-item.js":88}],88:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-button.js":104,"../../utils/fn.js":134,"./off-text-track-menu-item.js":86,"./text-track-menu-item.js":89}],89:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-menu-item.js
|
||||
*/
|
||||
@@ -6967,7 +6974,7 @@ _componentJs2['default'].registerComponent('TextTrackMenuItem', TextTrackMenuIte
|
||||
exports['default'] = TextTrackMenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../menu/menu-item.js":104,"../../utils/fn.js":133,"global/document":1,"global/window":2}],89:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134,"global/document":1,"global/window":2}],90:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file current-time-display.js
|
||||
*/
|
||||
@@ -7064,7 +7071,7 @@ _componentJs2['default'].registerComponent('CurrentTimeDisplay', CurrentTimeDisp
|
||||
exports['default'] = CurrentTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],90:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],91:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file duration-display.js
|
||||
*/
|
||||
@@ -7166,7 +7173,7 @@ _componentJs2['default'].registerComponent('DurationDisplay', DurationDisplay);
|
||||
exports['default'] = DurationDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],91:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],92:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file remaining-time-display.js
|
||||
*/
|
||||
@@ -7267,7 +7274,7 @@ _componentJs2['default'].registerComponent('RemainingTimeDisplay', RemainingTime
|
||||
exports['default'] = RemainingTimeDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../utils/dom.js":131,"../../utils/format-time.js":134}],92:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],93:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file time-divider.js
|
||||
*/
|
||||
@@ -7325,7 +7332,7 @@ _componentJs2['default'].registerComponent('TimeDivider', TimeDivider);
|
||||
exports['default'] = TimeDivider;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],93:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],94:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-bar.js
|
||||
*/
|
||||
@@ -7475,7 +7482,7 @@ _componentJs2['default'].registerComponent('VolumeBar', VolumeBar);
|
||||
exports['default'] = VolumeBar;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"../../slider/slider.js":113,"../../utils/fn.js":133,"./volume-level.js":95}],94:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"./volume-level.js":96}],95:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-control.js
|
||||
*/
|
||||
@@ -7553,7 +7560,7 @@ _componentJs2['default'].registerComponent('VolumeControl', VolumeControl);
|
||||
exports['default'] = VolumeControl;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66,"./volume-bar.js":93}],95:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67,"./volume-bar.js":94}],96:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-level.js
|
||||
*/
|
||||
@@ -7610,7 +7617,7 @@ _componentJs2['default'].registerComponent('VolumeLevel', VolumeLevel);
|
||||
exports['default'] = VolumeLevel;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../component.js":66}],96:[function(_dereq_,module,exports){
|
||||
},{"../../component.js":67}],97:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file volume-menu-button.js
|
||||
*/
|
||||
@@ -7802,7 +7809,7 @@ _componentJs2['default'].registerComponent('VolumeMenuButton', VolumeMenuButton)
|
||||
exports['default'] = VolumeMenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../popup/popup-button.js":109,"../popup/popup.js":110,"../utils/fn.js":133,"./mute-toggle.js":70,"./volume-control/volume-bar.js":93,"global/document":1}],97:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../popup/popup-button.js":110,"../popup/popup.js":111,"../utils/fn.js":134,"./mute-toggle.js":71,"./volume-control/volume-bar.js":94,"global/document":1}],98:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file error-display.js
|
||||
*/
|
||||
@@ -7896,7 +7903,7 @@ _component2['default'].registerComponent('ErrorDisplay', ErrorDisplay);
|
||||
exports['default'] = ErrorDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66,"./modal-dialog":106,"./utils/dom":131,"./utils/merge-options":137}],98:[function(_dereq_,module,exports){
|
||||
},{"./component":67,"./modal-dialog":107,"./utils/dom":132,"./utils/merge-options":138}],99:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file event-target.js
|
||||
*/
|
||||
@@ -7955,7 +7962,7 @@ EventTarget.prototype.dispatchEvent = EventTarget.prototype.trigger;
|
||||
exports['default'] = EventTarget;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/events.js":132}],99:[function(_dereq_,module,exports){
|
||||
},{"./utils/events.js":133}],100:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -8046,7 +8053,7 @@ var extendFn = function extendFn(superClass) {
|
||||
exports['default'] = extendFn;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./utils/log":136}],100:[function(_dereq_,module,exports){
|
||||
},{"./utils/log":137}],101:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fullscreen-api.js
|
||||
*/
|
||||
@@ -8103,7 +8110,7 @@ if (browserApi) {
|
||||
exports['default'] = FullscreenApi;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"global/document":1}],101:[function(_dereq_,module,exports){
|
||||
},{"global/document":1}],102:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file loading-spinner.js
|
||||
*/
|
||||
@@ -8158,7 +8165,7 @@ _component2['default'].registerComponent('LoadingSpinner', LoadingSpinner);
|
||||
exports['default'] = LoadingSpinner;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./component":66}],102:[function(_dereq_,module,exports){
|
||||
},{"./component":67}],103:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file media-error.js
|
||||
*/
|
||||
@@ -8249,7 +8256,7 @@ for (var errNum = 0; errNum < MediaError.errorTypes.length; errNum++) {
|
||||
exports['default'] = MediaError;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"object.assign":45}],103:[function(_dereq_,module,exports){
|
||||
},{"object.assign":45}],104:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu-button.js
|
||||
*/
|
||||
@@ -8359,11 +8366,13 @@ var MenuButton = (function (_ClickableComponent) {
|
||||
|
||||
// Add a title list item to the top
|
||||
if (this.options_.title) {
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
var title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: _utilsToTitleCaseJs2['default'](this.options_.title),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
this.items = this['createItems']();
|
||||
@@ -8524,7 +8533,7 @@ _componentJs2['default'].registerComponent('MenuButton', MenuButton);
|
||||
exports['default'] = MenuButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,"./menu.js":105}],104:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./menu.js":106}],105:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu-item.js
|
||||
*/
|
||||
@@ -8639,7 +8648,7 @@ _componentJs2['default'].registerComponent('MenuItem', MenuItem);
|
||||
exports['default'] = MenuItem;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"object.assign":45}],105:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],106:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file menu.js
|
||||
*/
|
||||
@@ -8796,7 +8805,12 @@ var Menu = (function (_Component) {
|
||||
Menu.prototype.focus = function focus() {
|
||||
var item = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];
|
||||
|
||||
var children = this.children();
|
||||
var children = this.children().slice();
|
||||
var haveTitle = children[0].className && /vjs-menu-title/.test(children[0].className);
|
||||
|
||||
if (haveTitle) {
|
||||
children.shift();
|
||||
}
|
||||
|
||||
if (children.length > 0) {
|
||||
if (item < 0) {
|
||||
@@ -8818,7 +8832,7 @@ _componentJs2['default'].registerComponent('Menu', Menu);
|
||||
exports['default'] = Menu;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],106:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],107:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file modal-dialog.js
|
||||
*/
|
||||
@@ -9241,7 +9255,7 @@ _component2['default'].registerComponent('ModalDialog', ModalDialog);
|
||||
exports['default'] = ModalDialog;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./close-button":65,"./component":66,"./utils/dom":131,"./utils/fn":133,"./utils/log":136,"global/document":1}],107:[function(_dereq_,module,exports){
|
||||
},{"./close-button":66,"./component":67,"./utils/dom":132,"./utils/fn":134,"./utils/log":137,"global/document":1}],108:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file player.js
|
||||
*/
|
||||
@@ -12303,7 +12317,7 @@ exports['default'] = Player;
|
||||
module.exports = exports['default'];
|
||||
// If empty string, make it a parsable json object.
|
||||
|
||||
},{"./big-play-button.js":62,"./component.js":66,"./control-bar/control-bar.js":67,"./error-display.js":97,"./fullscreen-api.js":100,"./loading-spinner.js":101,"./media-error.js":102,"./modal-dialog":106,"./poster-image.js":111,"./tech/html5.js":116,"./tech/loader.js":117,"./tech/tech.js":118,"./tracks/text-track-display.js":122,"./tracks/text-track-list-converter.js":124,"./tracks/text-track-settings.js":126,"./utils/browser.js":128,"./utils/buffer.js":129,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/guid.js":135,"./utils/log.js":136,"./utils/merge-options.js":137,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,"./utils/to-title-case.js":140,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":53}],108:[function(_dereq_,module,exports){
|
||||
},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":68,"./error-display.js":98,"./fullscreen-api.js":101,"./loading-spinner.js":102,"./media-error.js":103,"./modal-dialog":107,"./poster-image.js":112,"./tech/html5.js":117,"./tech/loader.js":118,"./tech/tech.js":119,"./tracks/text-track-display.js":123,"./tracks/text-track-list-converter.js":125,"./tracks/text-track-settings.js":127,"./utils/browser.js":129,"./utils/buffer.js":130,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/to-title-case.js":141,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],109:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file plugins.js
|
||||
*/
|
||||
@@ -12331,7 +12345,7 @@ var plugin = function plugin(name, init) {
|
||||
exports['default'] = plugin;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./player.js":107}],109:[function(_dereq_,module,exports){
|
||||
},{"./player.js":108}],110:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file popup-button.js
|
||||
*/
|
||||
@@ -12465,7 +12479,7 @@ _componentJs2['default'].registerComponent('PopupButton', PopupButton);
|
||||
exports['default'] = PopupButton;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../clickable-component.js":64,"../component.js":66,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/to-title-case.js":140,"./popup.js":110}],110:[function(_dereq_,module,exports){
|
||||
},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./popup.js":111}],111:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file popup.js
|
||||
*/
|
||||
@@ -12562,7 +12576,7 @@ _componentJs2['default'].registerComponent('Popup', Popup);
|
||||
exports['default'] = Popup;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"../utils/events.js":132,"../utils/fn.js":133}],111:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],112:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file poster-image.js
|
||||
*/
|
||||
@@ -12722,7 +12736,7 @@ _componentJs2['default'].registerComponent('PosterImage', PosterImage);
|
||||
exports['default'] = PosterImage;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./clickable-component.js":64,"./component.js":66,"./utils/browser.js":128,"./utils/dom.js":131,"./utils/fn.js":133}],112:[function(_dereq_,module,exports){
|
||||
},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":129,"./utils/dom.js":132,"./utils/fn.js":134}],113:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file setup.js
|
||||
*
|
||||
@@ -12832,7 +12846,7 @@ exports.autoSetup = autoSetup;
|
||||
exports.autoSetupTimeout = autoSetupTimeout;
|
||||
exports.hasLoaded = hasLoaded;
|
||||
|
||||
},{"./utils/events.js":132,"global/document":1,"global/window":2}],113:[function(_dereq_,module,exports){
|
||||
},{"./utils/events.js":133,"global/document":1,"global/window":2}],114:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file slider.js
|
||||
*/
|
||||
@@ -13111,7 +13125,7 @@ _componentJs2['default'].registerComponent('Slider', Slider);
|
||||
exports['default'] = Slider;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/dom.js":131,"global/document":1,"object.assign":45}],114:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/dom.js":132,"global/document":1,"object.assign":45}],115:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file flash-rtmp.js
|
||||
*/
|
||||
@@ -13230,7 +13244,7 @@ function FlashRtmpDecorator(Flash) {
|
||||
exports['default'] = FlashRtmpDecorator;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],115:[function(_dereq_,module,exports){
|
||||
},{}],116:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file flash.js
|
||||
* VideoJS-SWF - Custom Flash Player with HTML5-ish API
|
||||
@@ -13845,7 +13859,7 @@ _tech2['default'].registerTech('Flash', Flash);
|
||||
exports['default'] = Flash;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/dom.js":131,"../utils/time-ranges.js":139,"../utils/url.js":141,"./flash-rtmp":114,"./tech":118,"global/window":2,"object.assign":45}],116:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/dom.js":132,"../utils/time-ranges.js":140,"../utils/url.js":142,"./flash-rtmp":115,"./tech":119,"global/window":2,"object.assign":45}],117:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html5.js
|
||||
* HTML5 Media Controller - Wrapper for HTML5 Media API
|
||||
@@ -15140,7 +15154,7 @@ _techJs2['default'].registerTech('Html5', Html5);
|
||||
exports['default'] = Html5;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/browser.js":128,"../utils/dom.js":131,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/url.js":141,"./tech.js":118,"global/document":1,"global/window":2,"object.assign":45}],117:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/browser.js":129,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/url.js":142,"./tech.js":119,"global/document":1,"global/window":2,"object.assign":45}],118:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file loader.js
|
||||
*/
|
||||
@@ -15224,7 +15238,7 @@ _componentJs2['default'].registerComponent('MediaLoader', MediaLoader);
|
||||
exports['default'] = MediaLoader;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component.js":66,"../utils/to-title-case.js":140,"./tech.js":118,"global/window":2}],118:[function(_dereq_,module,exports){
|
||||
},{"../component.js":67,"../utils/to-title-case.js":141,"./tech.js":119,"global/window":2}],119:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file tech.js
|
||||
* Media Technology Controller - Base class for media playback
|
||||
@@ -15640,10 +15654,22 @@ var Tech = (function (_Component) {
|
||||
}
|
||||
|
||||
if (!_globalWindow2['default']['WebVTT'] && this.el().parentNode != null) {
|
||||
var script = _globalDocument2['default'].createElement('script');
|
||||
script.src = this.options_['vtt.js'] || 'https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js';
|
||||
this.el().parentNode.appendChild(script);
|
||||
_globalWindow2['default']['WebVTT'] = true;
|
||||
(function () {
|
||||
var script = _globalDocument2['default'].createElement('script');
|
||||
script.src = _this.options_['vtt.js'] || 'https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js';
|
||||
script.onload = function () {
|
||||
_this.trigger('vttjsloaded');
|
||||
};
|
||||
script.onerror = function () {
|
||||
_this.trigger('vttjserror');
|
||||
};
|
||||
_this.on('dispose', function () {
|
||||
script.onload = null;
|
||||
script.onerror = null;
|
||||
});
|
||||
_this.el().parentNode.appendChild(script);
|
||||
_globalWindow2['default']['WebVTT'] = true;
|
||||
})();
|
||||
}
|
||||
|
||||
var updateDisplay = function updateDisplay() {
|
||||
@@ -16048,7 +16074,7 @@ Tech.registerTech('Tech', Tech);
|
||||
exports['default'] = Tech;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../media-error.js":102,"../tracks/html-track-element":120,"../tracks/html-track-element-list":119,"../tracks/text-track":127,"../tracks/text-track-list":125,"../utils/buffer.js":129,"../utils/fn.js":133,"../utils/log.js":136,"../utils/merge-options.js":137,"../utils/time-ranges.js":139,"global/document":1,"global/window":2}],119:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../media-error.js":103,"../tracks/html-track-element":121,"../tracks/html-track-element-list":120,"../tracks/text-track":128,"../tracks/text-track-list":126,"../utils/buffer.js":130,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/time-ranges.js":140,"global/document":1,"global/window":2}],120:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html-track-element-list.js
|
||||
*/
|
||||
@@ -16140,7 +16166,7 @@ var HtmlTrackElementList = (function () {
|
||||
exports['default'] = HtmlTrackElementList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../utils/browser.js":128,"global/document":1}],120:[function(_dereq_,module,exports){
|
||||
},{"../utils/browser.js":129,"global/document":1}],121:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file html-track-element.js
|
||||
*/
|
||||
@@ -16275,7 +16301,7 @@ HTMLTrackElement.ERROR = ERROR;
|
||||
exports['default'] = HTMLTrackElement;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../tracks/text-track":127,"../utils/browser.js":128,"global/document":1}],121:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../tracks/text-track":128,"../utils/browser.js":129,"global/document":1}],122:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-cue-list.js
|
||||
*/
|
||||
@@ -16404,7 +16430,7 @@ var TextTrackCueList = (function () {
|
||||
exports['default'] = TextTrackCueList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../utils/browser.js":128,"global/document":1}],122:[function(_dereq_,module,exports){
|
||||
},{"../utils/browser.js":129,"global/document":1}],123:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-display.js
|
||||
*/
|
||||
@@ -16680,7 +16706,7 @@ _component2['default'].registerComponent('TextTrackDisplay', TextTrackDisplay);
|
||||
exports['default'] = TextTrackDisplay;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../menu/menu-button.js":103,"../menu/menu-item.js":104,"../menu/menu.js":105,"../utils/fn.js":133,"global/document":1,"global/window":2}],123:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../menu/menu-button.js":104,"../menu/menu-item.js":105,"../menu/menu.js":106,"../utils/fn.js":134,"global/document":1,"global/window":2}],124:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-enums.js
|
||||
*/
|
||||
@@ -16726,7 +16752,7 @@ exports.TextTrackKind = TextTrackKind;
|
||||
|
||||
/* jshint ignore:end */
|
||||
|
||||
},{}],124:[function(_dereq_,module,exports){
|
||||
},{}],125:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* Utilities for capturing text track state and re-creating tracks
|
||||
* based on a capture.
|
||||
@@ -16817,7 +16843,7 @@ var jsonToTextTracks = function jsonToTextTracks(json, tech) {
|
||||
exports['default'] = { textTracksToJson: textTracksToJson, jsonToTextTracks: jsonToTextTracks, trackToJson_: trackToJson_ };
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],125:[function(_dereq_,module,exports){
|
||||
},{}],126:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-list.js
|
||||
*/
|
||||
@@ -17018,7 +17044,7 @@ for (var _event in TextTrackList.prototype.allowedEvents_) {
|
||||
exports['default'] = TextTrackList;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"global/document":1}],126:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"global/document":1}],127:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track-settings.js
|
||||
*/
|
||||
@@ -17315,7 +17341,7 @@ function captionOptionsMenuTemplate() {
|
||||
exports['default'] = TextTrackSettings;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../component":66,"../utils/events.js":132,"../utils/fn.js":133,"../utils/log.js":136,"global/window":2,"safe-json-parse/tuple":53}],127:[function(_dereq_,module,exports){
|
||||
},{"../component":67,"../utils/events.js":133,"../utils/fn.js":134,"../utils/log.js":137,"global/window":2,"safe-json-parse/tuple":54}],128:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file text-track.js
|
||||
*/
|
||||
@@ -17424,11 +17450,21 @@ var loadTrack = function loadTrack(src, track) {
|
||||
|
||||
track.loaded_ = true;
|
||||
|
||||
// Make sure that vttjs has loaded, otherwise, wait till it finished loading
|
||||
// NOTE: this is only used for the alt/video.novtt.js build
|
||||
if (typeof _globalWindow2['default'].WebVTT !== 'function') {
|
||||
_globalWindow2['default'].setTimeout(function () {
|
||||
parseCues(responseBody, track);
|
||||
}, 100);
|
||||
if (track.tech_) {
|
||||
(function () {
|
||||
var loadHandler = function loadHandler() {
|
||||
return parseCues(responseBody, track);
|
||||
};
|
||||
track.tech_.on('vttjsloaded', loadHandler);
|
||||
track.tech_.on('vttjserror', function () {
|
||||
_utilsLogJs2['default'].error('vttjs failed to load, stopping trying to process ' + track.src);
|
||||
track.tech_.off('vttjsloaded', loadHandler);
|
||||
});
|
||||
})();
|
||||
}
|
||||
} else {
|
||||
parseCues(responseBody, track);
|
||||
}
|
||||
@@ -17689,7 +17725,7 @@ TextTrack.prototype.allowedEvents_ = {
|
||||
exports['default'] = TextTrack;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../event-target":98,"../utils/browser.js":128,"../utils/fn.js":133,"../utils/guid.js":135,"../utils/log.js":136,"../utils/url.js":141,"./text-track-cue-list":121,"./text-track-enums":123,"global/document":1,"global/window":2,"xhr":55}],128:[function(_dereq_,module,exports){
|
||||
},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"../utils/guid.js":136,"../utils/log.js":137,"../utils/url.js":142,"./text-track-cue-list":122,"./text-track-enums":124,"global/document":1,"global/window":2,"xhr":56}],129:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file browser.js
|
||||
*/
|
||||
@@ -17782,7 +17818,7 @@ exports.TOUCH_ENABLED = TOUCH_ENABLED;
|
||||
var BACKGROUND_SIZE_SUPPORTED = ('backgroundSize' in _globalDocument2['default'].createElement('video').style);
|
||||
exports.BACKGROUND_SIZE_SUPPORTED = BACKGROUND_SIZE_SUPPORTED;
|
||||
|
||||
},{"global/document":1,"global/window":2}],129:[function(_dereq_,module,exports){
|
||||
},{"global/document":1,"global/window":2}],130:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file buffer.js
|
||||
*/
|
||||
@@ -17831,7 +17867,7 @@ function bufferedPercent(buffered, duration) {
|
||||
return bufferedDuration / duration;
|
||||
}
|
||||
|
||||
},{"./time-ranges.js":139}],130:[function(_dereq_,module,exports){
|
||||
},{"./time-ranges.js":140}],131:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -17902,7 +17938,7 @@ exports['default'] = function (target) {
|
||||
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"./log.js":136}],131:[function(_dereq_,module,exports){
|
||||
},{"./log.js":137}],132:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file dom.js
|
||||
*/
|
||||
@@ -18632,7 +18668,7 @@ exports.$ = $;
|
||||
var $$ = createQuerier('querySelectorAll');
|
||||
exports.$$ = $$;
|
||||
|
||||
},{"./guid.js":135,"./log.js":136,"global/document":1,"global/window":2,"tsml":54}],132:[function(_dereq_,module,exports){
|
||||
},{"./guid.js":136,"./log.js":137,"global/document":1,"global/window":2,"tsml":55}],133:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file events.js
|
||||
*
|
||||
@@ -19040,7 +19076,7 @@ function _handleMultipleEvents(fn, elem, types, callback) {
|
||||
});
|
||||
}
|
||||
|
||||
},{"./dom.js":131,"./guid.js":135,"global/document":1,"global/window":2}],133:[function(_dereq_,module,exports){
|
||||
},{"./dom.js":132,"./guid.js":136,"global/document":1,"global/window":2}],134:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file fn.js
|
||||
*/
|
||||
@@ -19084,7 +19120,7 @@ var bind = function bind(context, fn, uid) {
|
||||
};
|
||||
exports.bind = bind;
|
||||
|
||||
},{"./guid.js":135}],134:[function(_dereq_,module,exports){
|
||||
},{"./guid.js":136}],135:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file format-time.js
|
||||
*
|
||||
@@ -19135,7 +19171,7 @@ function formatTime(seconds) {
|
||||
exports['default'] = formatTime;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{}],135:[function(_dereq_,module,exports){
|
||||
},{}],136:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file guid.js
|
||||
*
|
||||
@@ -19160,7 +19196,7 @@ function newGUID() {
|
||||
return _guid++;
|
||||
}
|
||||
|
||||
},{}],136:[function(_dereq_,module,exports){
|
||||
},{}],137:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file log.js
|
||||
*/
|
||||
@@ -19250,7 +19286,7 @@ function _logType(type, args) {
|
||||
exports['default'] = log;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"global/window":2}],137:[function(_dereq_,module,exports){
|
||||
},{"global/window":2}],138:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file merge-options.js
|
||||
*/
|
||||
@@ -19321,7 +19357,7 @@ function mergeOptions() {
|
||||
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"lodash-compat/object/merge":40}],138:[function(_dereq_,module,exports){
|
||||
},{"lodash-compat/object/merge":40}],139:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -19349,7 +19385,7 @@ var setTextContent = function setTextContent(el, content) {
|
||||
};
|
||||
exports.setTextContent = setTextContent;
|
||||
|
||||
},{"global/document":1}],139:[function(_dereq_,module,exports){
|
||||
},{"global/document":1}],140:[function(_dereq_,module,exports){
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
@@ -19420,7 +19456,7 @@ function rangeCheck(fnName, index, maxIndex) {
|
||||
}
|
||||
}
|
||||
|
||||
},{"./log.js":136}],140:[function(_dereq_,module,exports){
|
||||
},{"./log.js":137}],141:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file to-title-case.js
|
||||
*
|
||||
@@ -19441,7 +19477,7 @@ function toTitleCase(string) {
|
||||
exports["default"] = toTitleCase;
|
||||
module.exports = exports["default"];
|
||||
|
||||
},{}],141:[function(_dereq_,module,exports){
|
||||
},{}],142:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file url.js
|
||||
*/
|
||||
@@ -19577,7 +19613,7 @@ var isCrossOrigin = function isCrossOrigin(url) {
|
||||
};
|
||||
exports.isCrossOrigin = isCrossOrigin;
|
||||
|
||||
},{"global/document":1,"global/window":2}],142:[function(_dereq_,module,exports){
|
||||
},{"global/document":1,"global/window":2}],143:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file video.js
|
||||
*/
|
||||
@@ -19776,7 +19812,7 @@ setup.autoSetupTimeout(1, videojs);
|
||||
*
|
||||
* @type {String}
|
||||
*/
|
||||
videojs.VERSION = '5.8.1';
|
||||
videojs.VERSION = '5.8.6';
|
||||
|
||||
/**
|
||||
* The global options object. These are the settings that take effect
|
||||
@@ -20373,7 +20409,7 @@ if (typeof define === 'function' && define['amd']) {
|
||||
exports['default'] = videojs;
|
||||
module.exports = exports['default'];
|
||||
|
||||
},{"../../src/js/utils/merge-options.js":137,"./component":66,"./event-target":98,"./extend.js":99,"./player":107,"./plugins.js":108,"./setup":112,"./tech/flash.js":115,"./tech/html5.js":116,"./tech/tech.js":118,"./tracks/text-track.js":127,"./utils/browser.js":128,"./utils/create-deprecation-proxy.js":130,"./utils/dom.js":131,"./utils/events.js":132,"./utils/fn.js":133,"./utils/format-time.js":134,"./utils/log.js":136,"./utils/stylesheet.js":138,"./utils/time-ranges.js":139,"./utils/url.js":141,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,"xhr":55}]},{},[142])(142)
|
||||
},{"../../src/js/utils/merge-options.js":138,"./component":67,"./event-target":99,"./extend.js":100,"./player":108,"./plugins.js":109,"./setup":113,"./tech/flash.js":116,"./tech/html5.js":117,"./tech/tech.js":119,"./tracks/text-track.js":128,"./utils/browser.js":129,"./utils/create-deprecation-proxy.js":131,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/format-time.js":135,"./utils/log.js":137,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/url.js":142,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,"xhr":56}]},{},[143])(143)
|
||||
});
|
||||
|
||||
|
||||
|
||||
externo
+9
-7
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+10
-11
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
externo
+1
-1
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
+1
-1
@@ -23,7 +23,7 @@
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.",
|
||||
"No compatible source was found for this media.": "Für dieses Video wurde keine kompatible Quelle gefunden.",
|
||||
"Play video": "Video abspielen",
|
||||
"Play Video": "Video abspielen",
|
||||
"Close": "Schließen",
|
||||
"Modal Window": "Modales Fenster",
|
||||
"This is a modal window": "Dies ist ein modales Fenster",
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "The media could not be loaded, either because the server or network failed or because the format is not supported.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",
|
||||
"No compatible source was found for this media.": "No compatible source was found for this media.",
|
||||
"Play video": "Play video",
|
||||
"Play Video": "Play Video",
|
||||
"Close": "Close",
|
||||
"Modal Window": "Modal Window",
|
||||
"This is a modal window": "This is a modal window",
|
||||
@@ -31,4 +31,4 @@
|
||||
", opens captions settings dialog": ", opens captions settings dialog",
|
||||
", opens subtitles settings dialog": ", opens subtitles settings dialog",
|
||||
", selected": ", selected"
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"Play": "Воспроизвести",
|
||||
"Pause": "Приостановить",
|
||||
"Current Time": "Текущее время",
|
||||
"Duration Time": "Продолжительность",
|
||||
"Remaining Time": "Оставшееся время",
|
||||
"Stream Type": "Тип потока",
|
||||
"LIVE": "ОНЛАЙН",
|
||||
"Loaded": "Загрузка",
|
||||
"Progress": "Прогресс",
|
||||
"Fullscreen": "Полноэкранный режим",
|
||||
"Non-Fullscreen": "Неполноэкранный режим",
|
||||
"Mute": "Без звука",
|
||||
"Unmute": "Со звуком",
|
||||
"Playback Rate": "Скорость воспроизведения",
|
||||
"Subtitles": "Субтитры",
|
||||
"subtitles off": "Субтитры выкл.",
|
||||
"Captions": "Подписи",
|
||||
"captions off": "Подписи выкл.",
|
||||
"Chapters": "Главы",
|
||||
"You aborted the media playback": "Вы прервали воспроизведение видео",
|
||||
"A network error caused the media download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.",
|
||||
"No compatible source was found for this media.": "Совместимые источники для этого видео отсутствуют."
|
||||
"Play": "Воспроизвести",
|
||||
"Pause": "Приостановить",
|
||||
"Current Time": "Текущее время",
|
||||
"Duration Time": "Продолжительность",
|
||||
"Remaining Time": "Оставшееся время",
|
||||
"Stream Type": "Тип потока",
|
||||
"LIVE": "ОНЛАЙН",
|
||||
"Loaded": "Загрузка",
|
||||
"Progress": "Прогресс",
|
||||
"Fullscreen": "Полноэкранный режим",
|
||||
"Non-Fullscreen": "Неполноэкранный режим",
|
||||
"Mute": "Без звука",
|
||||
"Unmute": "Со звуком",
|
||||
"Playback Rate": "Скорость воспроизведения",
|
||||
"Subtitles": "Субтитры",
|
||||
"subtitles off": "Субтитры выкл.",
|
||||
"Captions": "Подписи",
|
||||
"captions off": "Подписи выкл.",
|
||||
"Chapters": "Главы",
|
||||
"You aborted the media playback": "Вы прервали воспроизведение видео",
|
||||
"A network error caused the media download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.",
|
||||
"No compatible source was found for this media.": "Совместимые источники для этого видео отсутствуют."
|
||||
}
|
||||
|
||||
+32
-32
@@ -1,34 +1,34 @@
|
||||
{
|
||||
"Play": "Oynat",
|
||||
"Pause": "Duraklat",
|
||||
"Current Time": "Süre",
|
||||
"Duration Time": "Toplam Süre",
|
||||
"Remaining Time": "Kalan Süre",
|
||||
"Stream Type": "Yayın Tipi",
|
||||
"LIVE": "CANLI",
|
||||
"Loaded": "Yüklendi",
|
||||
"Progress": "Yükleniyor",
|
||||
"Fullscreen": "Tam Ekran",
|
||||
"Non-Fullscreen": "Küçük Ekran",
|
||||
"Mute": "Ses Kapa",
|
||||
"Unmute": "Ses Aç",
|
||||
"Playback Rate": "Oynatma Hızı",
|
||||
"Subtitles": "Altyazı",
|
||||
"subtitles off": "Altyazı Kapalı",
|
||||
"Captions": "Ek Açıklamalar",
|
||||
"captions off": "Ek Açıklamalar Kapalı",
|
||||
"Chapters": "Bölümler",
|
||||
"You aborted the media playback": "Video oynatmayı iptal ettiniz",
|
||||
"A network error caused the media download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.",
|
||||
"No compatible source was found for this media.": "Video için kaynak bulunamadı.",
|
||||
"Play video": "Videoyu Oynat",
|
||||
"Close": "Kapat",
|
||||
"Modal Window": "Modal Penceresi",
|
||||
"This is a modal window": "Bu bir modal penceresidir",
|
||||
"This modal can be closed by pressing the Escape key or activating the close button.": "Bu modal ESC tuşuna basarak ya da kapata tıklanarak kapatılabilir.",
|
||||
", opens captions settings dialog": ", ek açıklama ayarları menüsünü açar",
|
||||
", opens subtitles settings dialog": ", altyazı ayarları menüsünü açar",
|
||||
", selected": ", seçildi"
|
||||
"Play": "Oynat",
|
||||
"Pause": "Duraklat",
|
||||
"Current Time": "Süre",
|
||||
"Duration Time": "Toplam Süre",
|
||||
"Remaining Time": "Kalan Süre",
|
||||
"Stream Type": "Yayın Tipi",
|
||||
"LIVE": "CANLI",
|
||||
"Loaded": "Yüklendi",
|
||||
"Progress": "Yükleniyor",
|
||||
"Fullscreen": "Tam Ekran",
|
||||
"Non-Fullscreen": "Küçük Ekran",
|
||||
"Mute": "Ses Kapa",
|
||||
"Unmute": "Ses Aç",
|
||||
"Playback Rate": "Oynatma Hızı",
|
||||
"Subtitles": "Altyazı",
|
||||
"subtitles off": "Altyazı Kapalı",
|
||||
"Captions": "Ek Açıklamalar",
|
||||
"captions off": "Ek Açıklamalar Kapalı",
|
||||
"Chapters": "Bölümler",
|
||||
"You aborted the media playback": "Video oynatmayı iptal ettiniz",
|
||||
"A network error caused the media download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.",
|
||||
"No compatible source was found for this media.": "Video için kaynak bulunamadı.",
|
||||
"Play Video": "Videoyu Oynat",
|
||||
"Close": "Kapat",
|
||||
"Modal Window": "Modal Penceresi",
|
||||
"This is a modal window": "Bu bir modal penceresidir",
|
||||
"This modal can be closed by pressing the Escape key or activating the close button.": "Bu modal ESC tuşuna basarak ya da kapata tıklanarak kapatılabilir.",
|
||||
", opens captions settings dialog": ", ek açıklama ayarları menüsünü açar",
|
||||
", opens subtitles settings dialog": ", altyazı ayarları menüsünü açar",
|
||||
", selected": ", seçildi"
|
||||
}
|
||||
|
||||
+24
-24
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"Play": "Відтворити",
|
||||
"Pause": "Призупинити",
|
||||
"Current Time": "Поточний час",
|
||||
"Duration Time": "Тривалість",
|
||||
"Remaining Time": "Час, що залишився",
|
||||
"Stream Type": "Тип потоку",
|
||||
"LIVE": "НАЖИВО",
|
||||
"Loaded": "Завантаження",
|
||||
"Progress": "Прогрес",
|
||||
"Fullscreen": "Повноекранний режим",
|
||||
"Non-Fullscreen": "Неповноекранний режим",
|
||||
"Mute": "Без звуку",
|
||||
"Unmute": "Зі звуком",
|
||||
"Playback Rate": "Швидкість відтворення",
|
||||
"Subtitles": "Субтитри",
|
||||
"subtitles off": "Без субтитрів",
|
||||
"Captions": "Підписи",
|
||||
"captions off": "Без підписів",
|
||||
"Chapters": "Розділи",
|
||||
"You aborted the media playback": "Ви припинили відтворення відео",
|
||||
"A network error caused the media download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.",
|
||||
"No compatible source was found for this media.": "Сумісні джерела для цього відео відсутні."
|
||||
"Play": "Відтворити",
|
||||
"Pause": "Призупинити",
|
||||
"Current Time": "Поточний час",
|
||||
"Duration Time": "Тривалість",
|
||||
"Remaining Time": "Час, що залишився",
|
||||
"Stream Type": "Тип потоку",
|
||||
"LIVE": "НАЖИВО",
|
||||
"Loaded": "Завантаження",
|
||||
"Progress": "Прогрес",
|
||||
"Fullscreen": "Повноекранний режим",
|
||||
"Non-Fullscreen": "Неповноекранний режим",
|
||||
"Mute": "Без звуку",
|
||||
"Unmute": "Зі звуком",
|
||||
"Playback Rate": "Швидкість відтворення",
|
||||
"Subtitles": "Субтитри",
|
||||
"subtitles off": "Без субтитрів",
|
||||
"Captions": "Підписи",
|
||||
"captions off": "Без підписів",
|
||||
"Chapters": "Розділи",
|
||||
"You aborted the media playback": "Ви припинили відтворення відео",
|
||||
"A network error caused the media download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.",
|
||||
"The media could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.",
|
||||
"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.",
|
||||
"No compatible source was found for this media.": "Сумісні джерела для цього відео відсутні."
|
||||
}
|
||||
|
||||
+1
-1
@@ -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.1",
|
||||
"version": "5.8.6",
|
||||
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
|
||||
"license": "Apache-2.0",
|
||||
"keywords": [
|
||||
|
||||
@@ -2,11 +2,6 @@
|
||||
@extend .vjs-icon-chapters;
|
||||
}
|
||||
|
||||
.vjs-chapters-button .vjs-menu {
|
||||
left: -10em; // (Width of vjs-menu - width of vjs-control) / 2
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.vjs-chapters-button .vjs-menu ul {
|
||||
width: 24em;
|
||||
}
|
||||
|
||||
@@ -90,11 +90,13 @@ class ChaptersButton extends TextTrackButton {
|
||||
let menu = this.menu;
|
||||
if (menu === undefined) {
|
||||
menu = new Menu(this.player_);
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
let title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: toTitleCase(this.kind_),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
if (chaptersTrack && chaptersTrack.cues == null) {
|
||||
|
||||
@@ -70,11 +70,13 @@ class MenuButton extends ClickableComponent {
|
||||
|
||||
// Add a title list item to the top
|
||||
if (this.options_.title) {
|
||||
menu.contentEl().appendChild(Dom.createEl('li', {
|
||||
let title = Dom.createEl('li', {
|
||||
className: 'vjs-menu-title',
|
||||
innerHTML: toTitleCase(this.options_.title),
|
||||
tabIndex: -1
|
||||
}));
|
||||
});
|
||||
menu.children_.unshift(title);
|
||||
Dom.insertElFirst(title, menu.contentEl());
|
||||
}
|
||||
|
||||
this.items = this['createItems']();
|
||||
|
||||
@@ -117,7 +117,14 @@ class Menu extends Component {
|
||||
* @method focus
|
||||
*/
|
||||
focus (item = 0) {
|
||||
let children = this.children();
|
||||
let children = this.children().slice();
|
||||
let haveTitle = children[0].className &&
|
||||
/vjs-menu-title/.test(children[0].className);
|
||||
|
||||
if (haveTitle) {
|
||||
children.shift();
|
||||
}
|
||||
|
||||
|
||||
if (children.length > 0) {
|
||||
if (item < 0) {
|
||||
|
||||
@@ -327,6 +327,16 @@ class Tech extends Component {
|
||||
if (!window['WebVTT'] && this.el().parentNode != null) {
|
||||
let script = document.createElement('script');
|
||||
script.src = this.options_['vtt.js'] || '../node_modules/videojs-vtt.js/dist/vtt.js';
|
||||
script.onload = () => {
|
||||
this.trigger('vttjsloaded');
|
||||
};
|
||||
script.onerror = () => {
|
||||
this.trigger('vttjserror');
|
||||
};
|
||||
this.on('dispose', () => {
|
||||
script.onload = null;
|
||||
script.onerror = null;
|
||||
});
|
||||
this.el().parentNode.appendChild(script);
|
||||
window['WebVTT'] = true;
|
||||
}
|
||||
|
||||
@@ -67,14 +67,22 @@ const loadTrack = function(src, track) {
|
||||
|
||||
track.loaded_ = true;
|
||||
|
||||
// Make sure that vttjs has loaded, otherwise, wait till it finished loading
|
||||
// NOTE: this is only used for the alt/video.novtt.js build
|
||||
if (typeof window.WebVTT !== 'function') {
|
||||
window.setTimeout(function() {
|
||||
parseCues(responseBody, track);
|
||||
}, 100);
|
||||
if (track.tech_) {
|
||||
let loadHandler = () => parseCues(responseBody, track);
|
||||
track.tech_.on('vttjsloaded', loadHandler);
|
||||
track.tech_.on('vttjserror', () => {
|
||||
log.error(`vttjs failed to load, stopping trying to process ${track.src}`);
|
||||
track.tech_.off('vttjsloaded', loadHandler);
|
||||
});
|
||||
|
||||
}
|
||||
} else {
|
||||
parseCues(responseBody, track);
|
||||
}
|
||||
|
||||
}));
|
||||
};
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ module.exports = function(config) {
|
||||
|
||||
browserify: {
|
||||
debug: true,
|
||||
plugin: ['proxyquireify/plugin'],
|
||||
transform: [
|
||||
require('babelify').configure({
|
||||
sourceMapRelative: './',
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
import window from 'global/window';
|
||||
import EventTarget from '../../../src/js/event-target.js';
|
||||
import TextTrack from '../../../src/js/tracks/text-track.js';
|
||||
import TestHelpers from '../test-helpers.js';
|
||||
import log from '../../../src/js/utils/log.js';
|
||||
import proxyquireify from 'proxyquireify';
|
||||
|
||||
const proxyquire = proxyquireify(require);
|
||||
|
||||
const defaultTech = {
|
||||
textTracks() {},
|
||||
@@ -254,3 +260,144 @@ test('fires cuechange when cues become active and inactive', function() {
|
||||
|
||||
player.dispose();
|
||||
});
|
||||
|
||||
test('tracks are parsed if vttjs is loaded', function() {
|
||||
const clock = sinon.useFakeTimers();
|
||||
const oldVTT = window.WebVTT;
|
||||
let parserCreated = false;
|
||||
|
||||
window.WebVTT = () => {};
|
||||
window.WebVTT.StringDecoder = () => {};
|
||||
window.WebVTT.Parser = () => {
|
||||
parserCreated = true;
|
||||
return {
|
||||
oncue() {},
|
||||
onparsingerror() {},
|
||||
onflush() {},
|
||||
parse() {},
|
||||
flush() {}
|
||||
};
|
||||
};
|
||||
|
||||
// use proxyquire to stub xhr module because IE8s XDomainRequest usage
|
||||
let xhrHandler;
|
||||
let TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {
|
||||
xhr(options, fn) {
|
||||
xhrHandler = fn;
|
||||
}
|
||||
});
|
||||
|
||||
let tt = new TextTrack({
|
||||
tech: defaultTech,
|
||||
src: 'http://example.com'
|
||||
});
|
||||
|
||||
xhrHandler(null, {}, 'WEBVTT\n');
|
||||
|
||||
ok(parserCreated, 'WebVTT is loaded, so we can just parse');
|
||||
|
||||
clock.restore();
|
||||
window.WebVTT = oldVTT;
|
||||
TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {});
|
||||
});
|
||||
|
||||
test('tracks are parsed once vttjs is loaded', function() {
|
||||
const clock = sinon.useFakeTimers();
|
||||
const oldVTT = window.WebVTT;
|
||||
let parserCreated = false;
|
||||
|
||||
// use proxyquire to stub xhr module because IE8s XDomainRequest usage
|
||||
let xhrHandler;
|
||||
let TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {
|
||||
xhr(options, fn) {
|
||||
xhrHandler = fn;
|
||||
}
|
||||
});
|
||||
|
||||
window.WebVTT = true;
|
||||
|
||||
let testTech = new EventTarget();
|
||||
testTech.textTracks = () => {};
|
||||
testTech.currentTime = () => {};
|
||||
|
||||
let tt = new TextTrack({
|
||||
tech: testTech,
|
||||
src: 'http://example.com'
|
||||
});
|
||||
|
||||
xhrHandler(null, {}, 'WEBVTT\n');
|
||||
|
||||
ok(!parserCreated, 'WebVTT is not loaded, do not try to parse yet');
|
||||
|
||||
clock.tick(100);
|
||||
ok(!parserCreated, 'WebVTT still not loaded, do not try to parse yet');
|
||||
|
||||
window.WebVTT = () => {};
|
||||
window.WebVTT.StringDecoder = () => {};
|
||||
window.WebVTT.Parser = () => {
|
||||
parserCreated = true;
|
||||
return {
|
||||
oncue() {},
|
||||
onparsingerror() {},
|
||||
onflush() {},
|
||||
parse() {},
|
||||
flush() {}
|
||||
};
|
||||
};
|
||||
|
||||
testTech.trigger('vttjsloaded');
|
||||
ok(parserCreated, 'WebVTT is loaded, so we can parse now');
|
||||
|
||||
clock.restore();
|
||||
window.WebVTT = oldVTT;
|
||||
TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {});
|
||||
});
|
||||
|
||||
test('stops processing if vttjs loading errored out', function() {
|
||||
const clock = sinon.useFakeTimers();
|
||||
const oldVTT = window.WebVTT;
|
||||
let parserCreated = false;
|
||||
window.WebVTT = true;
|
||||
|
||||
// use proxyquire to stub xhr module because IE8s XDomainRequest usage
|
||||
let xhrHandler;
|
||||
let errorMsg;
|
||||
let TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {
|
||||
xhr(options, fn) {
|
||||
xhrHandler = fn;
|
||||
},
|
||||
'../utils/log.js': {
|
||||
error(msg) {
|
||||
errorMsg = msg;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
let testTech = new EventTarget();
|
||||
testTech.textTracks = () => {};
|
||||
testTech.currentTime = () => {};
|
||||
|
||||
sinon.stub(testTech, 'off');
|
||||
testTech.off.withArgs('vttjsloaded');
|
||||
|
||||
let tt = new TextTrack({
|
||||
tech: testTech,
|
||||
src: 'http://example.com'
|
||||
});
|
||||
|
||||
xhrHandler(null, {}, 'WEBVTT\n');
|
||||
|
||||
ok(!parserCreated, 'WebVTT is not loaded, do not try to parse yet');
|
||||
|
||||
testTech.trigger('vttjserror');
|
||||
let offSpyCall = testTech.off.getCall(0);
|
||||
|
||||
ok(/^vttjs failed to load, stopping trying to process/.test(errorMsg),
|
||||
'vttjs failed to load, so, we logged an error');
|
||||
ok(!parserCreated, 'WebVTT is not loaded, do not try to parse yet');
|
||||
ok(offSpyCall, 'tech.off was called');
|
||||
|
||||
clock.restore();
|
||||
window.WebVTT = oldVTT;
|
||||
TextTrack = proxyquire('../../../src/js/tracks/text-track.js', {});
|
||||
});
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário