veplayer-mp-douyin
Advanced tools
Comparing version 1.2.3-alpha.0 to 1.2.3-alpha.1
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.PKG = 'douyin'; | ||
exports.VERSION = '1.2.3-alpha.0'; | ||
exports.VERSION = '1.2.3-alpha.1'; | ||
/** | ||
@@ -30,0 +30,0 @@ * 控制栏状态枚举 |
@@ -127,3 +127,3 @@ "use strict"; | ||
seeking: function (flag) { | ||
this._emitEvt(flag ? index_1.MediaEvents.SEEKING : index_1.MediaEvents.SEEKCOMPLETE); | ||
this._emitEvt(flag ? index_1.MediaEvents.SEEKING : index_1.MediaEvents.SEEKCOMPLETE, {}); | ||
}, | ||
@@ -335,3 +335,4 @@ 'loadedMeta,seeking,paused': function () { | ||
_emitEvt(evName, e) { | ||
const evData = Object.assign({ e, data: this.data }, e.detail); | ||
const _detail = e && e.detail ? e.detail : {}; | ||
const evData = Object.assign({ e, data: this.data }, _detail); | ||
// Fire event to context | ||
@@ -338,0 +339,0 @@ this.media.emit(evName, evData); |
{ | ||
"name": "veplayer-mp-douyin", | ||
"version": "1.2.3-alpha.0", | ||
"version": "1.2.3-alpha.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "miniprogramType": "tt-npm", |
157937
2968