播放新曲目时自动暂停 mediaelement.js 音频播放器
使用 mediaelement.js 音频 - 有谁知道当同一页面上有 2 个或更多音轨时,如何或是否可以在播放另一首曲目时自动暂停 1 首曲目? (我想像播放/暂停切换属性)
有一个我在这里谈论的使用 Flash 播放器的示例: http: //stockmusicboutique.com/background 但想知道这个 html 5 播放器是否可以实现。
using the mediaelement.js audio - Does anyone know how or if it's possible to have 1 track pause automatically when another is played when there are 2 or more audio tracks on the same page? (I guess like a play/pause toggle attribute)
there's an example of what I'm talking about here using a flash player: http://stockmusicboutique.com/background but was wondering if it would be possible with this html 5 player.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以这样做:
You could do something like this: