提交 37f185ff 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整背景音频示例。

上级 9f8ff5d2
......@@ -59,6 +59,8 @@
bgAudioMannager.singer = '歌手:暂无' + this.count;
bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg';
bgAudioMannager.src = this.dataUrl;
this.currentTime = bgAudioMannager.currentTime
this.duration = bgAudioMannager.duration
bgAudioMannager.onCanplay(() => {
console.log("音频进入可以播放状态事件");
this.buffered = bgAudioMannager.buffered;
......@@ -211,4 +213,4 @@
flex-direction: row;
justify-content: center;
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册