如何在没有可视化的情况下嵌入 Windows Media Player
我和上个家伙一样喜欢 90 年代末,但我希望能够在网页上播放音频文件,而不必查看 wmp 显示的俗气几何可视化。有没有好的方法可以做到这一点?这是我的代码:
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="url" value="file.wav" />
<param name="autoStart" value="True" />
<embed type="application/x-mplayer2" src="file.wav" name="MediaPlayer">
</embed>
</object>
我发现的一个临时解决方案是将 height
参数设置为 45,最终只显示底部的控件。然而,一旦微软决定改变他们的布局,这看起来就不对劲了。啊!
I enjoyed the late 90s just as much as the last guy, but I'd like to be able to play an audio file on a web page without having to look at the cheesy geometric visualizations that wmp shows. Is there a good way of doing this? Here's my code:
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="url" value="file.wav" />
<param name="autoStart" value="True" />
<embed type="application/x-mplayer2" src="file.wav" name="MediaPlayer">
</embed>
</object>
One temporary solution I've found is to set the height
parameter to 45, which ends up showing just the controls at the bottom. As soon as Microsoft decides to change their layout though, this won't look right. Argh!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论