@aochuang/common 1.0.141 → 1.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -402,21 +402,9 @@ export default {
|
|
|
402
402
|
if (!Number.isFinite(targetValue)) {
|
|
403
403
|
return
|
|
404
404
|
}
|
|
405
|
-
const rawTargetValue = targetValue
|
|
406
405
|
if (this.voiceSeconds) {
|
|
407
406
|
targetValue = Math.max(0, Math.min(targetValue, Number(this.voiceSeconds)))
|
|
408
407
|
}
|
|
409
|
-
console.log('[vtt-sync] ac voice setPlayPosition', {
|
|
410
|
-
position,
|
|
411
|
-
rawTargetValue,
|
|
412
|
-
targetValue,
|
|
413
|
-
voiceSeconds: this.voiceSeconds,
|
|
414
|
-
controlPlayPosition: this.controlPlayPosition,
|
|
415
|
-
isPlaying: this.isPlaying,
|
|
416
|
-
isPause: this.isPause,
|
|
417
|
-
playUrl: this.AcVoice && this.AcVoice.playUrl,
|
|
418
|
-
innerUrl: this.innerUrl
|
|
419
|
-
})
|
|
420
408
|
clearTimeout(this._controlChangeTimer)
|
|
421
409
|
this.controlPlayPosition = targetValue
|
|
422
410
|
if (this.AcVoice.playUrl !== this.innerUrl) {
|