-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何在使用 Meting 后使用 APlayer 的 API #32
Comments
像这样: |
@wertasy 感谢回复,但因为兼容性原因只能使用 1.2.0,如果是 1.2.0 的请问应该怎样使用? |
直接改Metingjs,把设置传进去 |
aplayer的部分照旧使用。这样写 <div id="aplayer1"></div>
<div id="aplayer2"></div>
…
const ap1 = new APlayer({
container: document.getElementById('aplayer1'),
autoplay: false,
preload: 'none',
listFolded: true,
audio: [{
name: '',
artist: '',
url: '',
cover: '.webp',
theme: '#baa087',
}, {
…
}]
}); metingjs的部分,在 <div class="aplayer" data-id="1292139283" data-server="xiami" data-type="playlist" data-list-folded="true" data-preload="none" data-audio-cover=".webp"> |
提供一种个人可用的Vue版本的解决方法 }, mounted() { |
使用 APlayer 提供的范例引用的话会无法加载。
The text was updated successfully, but these errors were encountered: