veplayer-mp-douyin
Advanced tools
Comparing version
@@ -13,3 +13,2 @@ "use strict"; | ||
observer(newVal, oldVal, _changedPath) { | ||
console.log('logInfo:', newVal, oldVal); | ||
this.collector && this.collector.setConfig(newVal); | ||
@@ -16,0 +15,0 @@ } |
@@ -9,3 +9,3 @@ "use strict"; | ||
observer(newVal, oldVal, _changedPath) { | ||
console.log('src:', newVal, oldVal); | ||
// console.log('src:', newVal, oldVal); | ||
} | ||
@@ -12,0 +12,0 @@ }, |
@@ -46,3 +46,3 @@ "use strict"; | ||
observer(newVal, oldVal, _changedPath) { | ||
console.log('definitionUrls:', newVal, oldVal); | ||
// console.log('definitionUrls:', newVal, oldVal); | ||
this.setData({ definitionUrls: newVal }); | ||
@@ -88,3 +88,3 @@ } | ||
if (err instanceof error_1.XGError && err.severity === error_1.ErrorSeverity.INTERRUPTED) { | ||
console.log('error:', err); | ||
// console.log('error:', err); | ||
this._emitEvt(index_1.MediaEvents.ERROR, err); | ||
@@ -116,3 +116,3 @@ } | ||
else if (playAuthToken) { | ||
console.log('ServiceRequest: ', playDomain, playAuthToken); | ||
// console.log('ServiceRequest: ', playDomain, playAuthToken); | ||
(0, xgplayer_service_miniprogram_1.url)(playAuthToken, playDomain || undefined).then((res) => { | ||
@@ -406,3 +406,3 @@ const data = (res === null || res === void 0 ? void 0 : res.Data) || res || {}; | ||
handleTap() { | ||
console.log('>>>>>Index handleTap'); | ||
// console.log('>>>>>Index handleTap'); | ||
}, | ||
@@ -409,0 +409,0 @@ updateStatusOfShowLoading(e) { |
@@ -39,5 +39,5 @@ "use strict"; | ||
// TODO | ||
console.log('refresh player'); | ||
// console.log('refresh player'); | ||
} | ||
} | ||
}); |
@@ -23,3 +23,3 @@ "use strict"; | ||
ready() { | ||
console.log('component loading ready:', this.data); | ||
// console.log('component loading ready:', this.data); | ||
} | ||
@@ -26,0 +26,0 @@ }, |
{ | ||
"component": true, | ||
"usingComponents": {} | ||
} | ||
} |
@@ -29,3 +29,3 @@ "use strict"; | ||
ready() { | ||
console.log('component poster ready:', this.data); | ||
// console.log('component poster ready:', this.data); | ||
} | ||
@@ -32,0 +32,0 @@ }, |
@@ -70,3 +70,3 @@ "use strict"; | ||
onClick: function (e) { | ||
console.log('>>>>Progress', e); | ||
// console.log('>>>>Progress', e) | ||
// 空方法,用于阻止进度条的点击事件冒泡 | ||
@@ -73,0 +73,0 @@ }, |
@@ -25,3 +25,3 @@ "use strict"; | ||
const _data = { | ||
log: true, | ||
log: config.log, | ||
app_name: config.appName || '视频云微信小程序', | ||
@@ -33,3 +33,2 @@ app_version: config.appVersion || '1.0.0', | ||
config.log && (_data.log = config.log); | ||
console.log('>>>>setCollector', _data); | ||
__COLLECTOR__.uploader.init(_data); | ||
@@ -36,0 +35,0 @@ } |
@@ -19,3 +19,3 @@ "use strict"; | ||
const _index = this._findById(videoId); | ||
console.log('mediaManager>setMedia', videoId, _index); | ||
// console.log('mediaManager>setMedia', videoId, _index) | ||
if (_index >= 0) { | ||
@@ -35,3 +35,3 @@ return; | ||
const _index = this._findById(videoId); | ||
console.log('mediaManager>getMedia', videoId, _index); | ||
// console.log('mediaManager>getMedia', videoId, _index) | ||
if (_index < 0) { | ||
@@ -46,3 +46,3 @@ return null; | ||
const _index = this._findById(videoId); | ||
console.log('mediaManager>removeMedia', videoId, _index); | ||
//console.log('mediaManager>removeMedia', videoId, _index) | ||
if (_index >= 0) { | ||
@@ -49,0 +49,0 @@ return this._list.splice(_index, 1); |
{ | ||
"name": "veplayer-mp-douyin", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "miniprogramType": "tt-npm", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
107190
0.18%1758
-0.06%