提交 81b4f1ee 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

背景音频播放示例:暂时移除onSeeking和onSeeked监听回调

上级 16d5a2a6
...@@ -97,12 +97,12 @@ ...@@ -97,12 +97,12 @@
this.bgAudioMannager!.src = this.dataUrl; this.bgAudioMannager!.src = this.dataUrl;
this.bgAudioMannager?.play() this.bgAudioMannager?.play()
}) })
bgAudioMannager.onSeeking(() => { // bgAudioMannager.onSeeking(() => {
console.log('音频进行 seek 操作事件'); // console.log('音频进行 seek 操作事件');
}) // })
bgAudioMannager.onSeeked(() => { // bgAudioMannager.onSeeked(() => {
console.log('音频完成 seek 操作事件'); // console.log('音频完成 seek 操作事件');
}) // })
bgAudioMannager.onWaiting(() => { bgAudioMannager.onWaiting(() => {
console.log('音频加载中事件'); console.log('音频加载中事件');
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册