阻止嵌入式 Windows Media Player 循环播放?
我在 HTML 页面中嵌入了 Windows Media 播放器,当音频结束时,它会从头开始。
根据文档,有一个 autorewind
参数/属性和一个 loop
。
问题是,我已将这两个设置为 false(和/或零),但似乎没有任何区别。
这可能是一个错误吗? 我的客户端是 WMP 10.00.00.4058。 也许服务器上有某种设置告诉文件循环,这是一个疯狂的想法吗?
I've got an embedded Windows Media player in an HTML page, and when the audio gets to the end, it just starts again from the beginning.
According to the documentation, there's an autorewind
parameter/attribute and also a loop
.
The problem is, I've set both of those to false
(and/or zero) and it doesn't seem to make any difference.
Might this be a bug? My client is WMP 10.00.00.4058. Maybe there's some kind of setting on the server which tells files to loop, is that a crazy idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
哇! 参数名称=播放计数值=1
WTH! param name=PlayCount value=1
我认为问题在于不同浏览器之间的不同嵌入方法。 这是一些经过测试的代码,其中不会发生循环。
IE
Firefox
主要区别在于,在 IE 中我有一个 classid,但在 Firefox 中我有一个“类型”分类
The issue, i believe, lies within your different embedding methods between the different browsers. Here's is some tested code where looping does not happen.
IE
Firefox
The primary difference being that in IE I have a classid but in Firefox I have a "type" classification
将您的 html 代码与此进行比较:
来自
http://www.programmingforums.org/post147977.html
compare your html code with this:
stolen from
http://www.programmingforums.org/post147977.html