Skip to content

Commit

Permalink
[build] 0.8.2
Browse files Browse the repository at this point in the history
support android wechat playsinline
  • Loading branch information
toxic-johann committed Jan 9, 2018
1 parent 334a9a6 commit 5178418
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bundle-size/common.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/es.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/min.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/umd.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions lib/index.browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.8.1
* chimee v0.8.2
* (c) 2017 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -7653,6 +7653,7 @@ var accessorMap = {
var val = value ? '' : undefined;
this.dom.setAttr('video', 'playsinline', val);
this.dom.setAttr('video', 'webkit-playsinline', val);
// fix android wechat bug
this.dom.setAttr('video', 'x5-playsinline', val);
this.dom.setAttr('video', 'x5-video-player-type', value ? 'h5' : undefined);
return value;
Expand Down Expand Up @@ -8365,7 +8366,7 @@ var Plugin = (_dec$3 = autobindClass(), _dec$3(_class$3 = function (_VideoWrappe
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.1';
_this.VERSION = '0.8.2';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -10450,7 +10451,7 @@ var Chimee = (_dec = autobindClass(), _dec(_class = (_class2 = (_temp = _class3
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.1';
return '0.8.2';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [frozen], {
enumerable: true,
Expand Down
7 changes: 4 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.8.1
* chimee v0.8.2
* (c) 2017 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -1007,6 +1007,7 @@ var accessorMap = {
var val = value ? '' : undefined;
this.dom.setAttr('video', 'playsinline', val);
this.dom.setAttr('video', 'webkit-playsinline', val);
// fix android wechat bug
this.dom.setAttr('video', 'x5-playsinline', val);
this.dom.setAttr('video', 'x5-video-player-type', value ? 'h5' : undefined);
return value;
Expand Down Expand Up @@ -1719,7 +1720,7 @@ var Plugin = (_dec$3 = toxicDecorators.autobindClass(), _dec$3(_class$3 = functi
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.1';
_this.VERSION = '0.8.2';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3520,7 +3521,7 @@ var Chimee = (_dec = toxicDecorators.autobindClass(), _dec(_class = (_class2 = (
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [toxicDecorators.frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.1';
return '0.8.2';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [toxicDecorators.frozen], {
enumerable: true,
Expand Down
2 changes: 1 addition & 1 deletion lib/index.min.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions lib/index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* chimee v0.8.1
* chimee v0.8.2
* (c) 2017 toxic-johann
* Released under MIT
*/
Expand Down Expand Up @@ -1003,6 +1003,8 @@ var accessorMap = {
var val = value ? '' : undefined;
this.dom.setAttr('video', 'playsinline', val);
this.dom.setAttr('video', 'webkit-playsinline', val);
// fix android wechat bug
this.dom.setAttr('video', 'x5-playsinline', val);
this.dom.setAttr('video', 'x5-video-player-type', value ? 'h5' : undefined);
return value;
}
Expand Down Expand Up @@ -1714,7 +1716,7 @@ var Plugin = (_dec$3 = autobindClass(), _dec$3(_class$3 = function (_VideoWrappe
var _this = _possibleConstructorReturn(this, (Plugin.__proto__ || _Object$getPrototypeOf(Plugin)).call(this));

_this.destroyed = false;
_this.VERSION = '0.8.1';
_this.VERSION = '0.8.2';
_this.__operable = true;
_this.__level = 0;

Expand Down Expand Up @@ -3515,7 +3517,7 @@ var Chimee = (_dec = autobindClass(), _dec(_class = (_class2 = (_temp = _class3
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'version', [frozen], {
enumerable: true,
initializer: function initializer() {
return '0.8.1';
return '0.8.2';
}
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, 'config', [frozen], {
enumerable: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chimee",
"version": "0.8.1",
"version": "0.8.2",
"description": "a video-player aims to bring wonderful experience on browser",
"main": "lib/index.js",
"module": "lib/index.mjs",
Expand Down

0 comments on commit 5178418

Please sign in to comment.