修改页面处理逻辑

master
于肖磊 2026-01-08 10:59:11 +08:00
parent a4e9905387
commit 05d1200d2b
1 changed files with 4 additions and 1 deletions

View File

@ -636,7 +636,10 @@
this.videoEl.controls = controls
this.videoEl.muted = muted
this.videoEl.playbackRate = playbackRate
uni.showToast({
title: this.autoplayRejected && autoplay ? '自动播放失败,请手动播放' : '自动播放成功',
icon: 'none'
});
//
if (this.autoplayRejected && autoplay) {
this.attemptAutoPlay(this.videoEl, muted);