Sound Manager 2 基本示例重定向问题(mp3 在单独页面上)
我正在尝试实现以下带有 Sound Manager2 的音频示例:
www. shillmania/projects/soundmanager2/demo/play-mp3-links/basic.html
我认为在检查调试信息时我已经正确链接了所有文件, 但该页面将我重定向到单独页面中的 Quicktime 链接。
文档指出:“SoundManager 2 拦截对 MP3 链接的点击并内联播放它们。脚本为链接分配额外的 CSS 类以指示其状态(播放/暂停等)”
- 我缺少什么?
我可以在 inline.js 中用鼠标悬停事件替换单击事件吗?或者这需要重大重写?我的目标是在所有浏览器的菜单上的鼠标悬停事件上播放快速的声音效果,并提供回退。
感谢您的任何意见,谢谢!
I'm trying to implement the following Audio w/ Sound Manager2 example:
www. shillmania/ projects/ soundmanager2/ demo/ play-mp3-links/ basic.html
I thought I had all the files correctly linked as the debug information is checking out,
but the page is redirecting me to a quicktime link in a separate page.
The documentations states: "SoundManager 2 intercepts clicks to MP3 links and plays them inline. The script assigns additional CSS classes to the links to indicate their state (playing/paused, etc.)"
- What am I missing?
Can I replace the click events with mouseover events within inline.js? Or would that require a major re-write? My goal is to play a quick sound effect on mouseover events on my menus across all browsers with fallbacks.
I appreciate any input, thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的猜测是它不起作用,因为
soundManager
设置进行了两次:一次在inlineplayer.js
中......再次与 HTML 本身内联
:设置冲突,我认为 HTML 中的
soundManager.url
是正确的,但其他所有内容都应该来自inlineplayer.js
。根据需要进行编辑,直到每个参数仅设置一次。My guess is that it's not working because the
soundManager
settings are being made twice: once ininlineplayer.js
......and again inline with the HTML itself:
The settings conflict, and I imagine that
soundManager.url
from the HTML is correct but everything else should come frominlineplayer.js
. Edit as necessary until each parameter is only set once.