Skip to content

Commit

Permalink
bump to 0.2.78
Browse files Browse the repository at this point in the history
  • Loading branch information
towerz committed Nov 10, 2017
1 parent 19ecbda commit 26f8d47
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "clappr",
"description": "An extensible media player for the web",
"version": "0.2.77",
"version": "0.2.78",
"homepage": "https://github.com/clappr/clappr",
"authors": [
"Globo.com"
Expand Down
20 changes: 17 additions & 3 deletions dist/clappr.js
Expand Up @@ -6268,7 +6268,7 @@ var _clapprZepto2 = _interopRequireDefault(_clapprZepto);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var version = "0.2.77"; // Copyright 2014 Globo.com Player authors. All rights reserved.
var version = "0.2.78"; // Copyright 2014 Globo.com Player authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -13395,6 +13395,11 @@ var HLS = function (_HTML5VideoPlayback) {
this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);
this._hls.currentLevel = this._currentLevel;
}
}, {
key: 'isReady',
get: function get() {
return this._isReadyState;
}
}, {
key: '_startTime',
get: function get() {
Expand Down Expand Up @@ -13530,7 +13535,7 @@ var HLS = function (_HTML5VideoPlayback) {
return _this;
}

HLS.prototype._setupHls = function _setupHls() {
HLS.prototype._setup = function _setup() {
var _this2 = this;

this._ccIsSetup = false;
Expand Down Expand Up @@ -13561,6 +13566,15 @@ var HLS = function (_HTML5VideoPlayback) {
return _this2._ccTracksUpdated = true;
});
this._hls.attachMedia(this.el);
this._ready();
};

HLS.prototype._ready = function _ready() {
if (!this._hls) {
return;
}
this._isReadyState = true;
this.trigger(_events2.default.PLAYBACK_READY, this.name);
};

HLS.prototype._recover = function _recover(evt, data) {
Expand Down Expand Up @@ -13751,7 +13765,7 @@ var HLS = function (_HTML5VideoPlayback) {

HLS.prototype.play = function play() {
if (!this._hls) {
this._setupHls();
this._setup();
}
_HTML5VideoPlayback.prototype.play.call(this);
};
Expand Down
2 changes: 1 addition & 1 deletion dist/clappr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "clappr",
"version": "0.2.77",
"version": "0.2.78",
"description": "An extensible media player for the web",
"main": "./dist/clappr.js",
"scripts": {
Expand Down

0 comments on commit 26f8d47

Please sign in to comment.