嵌入 Windows Media Player 并禁用可视化

发布于 2024-08-11 07:04:28 字数 786 浏览 4 评论 0原文

我在公司环境中工作,其中媒体播放的主要机制是 Windows Media Player。在我们的 Intranet 上,我们通过 Internet Explorer 6 以嵌入式 WMP 形式提供 MP3 文件。

我在嵌入、播放等方面没有任何问题。唯一的问题是我想禁用在播放时自动打开的可视化功能返回 MP3。

注意:我很乐意这样做,但在这种情况下无法使用替代方案。请不要推荐一个。

这是我当前嵌入代码的示例,它非常精简并且仅适用于 IE。我正在努力将其更新为跨浏览器,但这不符合目前的要求,因此优先级较低。

<object id="PLAYER" type="application/x-oleobject" height="360" width="480" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
  <param value="sb-sou-3-09.mp3" name="Url" />
</object> 

理想情况下,我想保留播放控件,但只需关闭可视化即可。如果它是一个大的黑色矩形,那就没问题。我们的用户不需要他们飞过声音隧道的错觉——他们只是想听音频。

我尝试设置 uiMode 设置,但是 MSDN 上列出的所有可能值都不是我要查找的值。

I'm working in a corporate environment where the primary mechanism of media playback is Windows Media Player. On our intranet we're serving MP3 files in an embedded WMP through Internet Explorer 6.

I have no problems with embedding, playback, etc. The only issue is that I want to disable the visualization that is automatically turned on when I'm playing back an MP3.

Note: I'd love to, but can't use an alternative in this case. Please don't suggest one.

Here's a sample of what my current embedding code looks like, it's very slim and only works in IE. I'm working on updating it to be cross-browser, but that isn't in the requirements right now so it's a low priority.

<object id="PLAYER" type="application/x-oleobject" height="360" width="480" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
  <param value="sb-sou-3-09.mp3" name="Url" />
</object> 

Ideally I'd like to retain the playback controls, but just turn the visualization off. If it's a big black rectangle, that's fine. Our users don't need the illusion that they are flying through a tunnel of sound -- they just want to listen to the audio.

I've tried setting the uiMode setting, but none of the possible values listed at MSDN are the ones I'm looking for.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

舟遥客 2024-08-18 07:04:28

尝试摆弄高度,即

<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" height="45" width="250">
    <param name="URL" value="reagan-audio.mp3" />
    <param name="uimode" value="full" />
</object>

try fiddling with the height i.e.

<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" height="45" width="250">
    <param name="URL" value="reagan-audio.mp3" />
    <param name="uimode" value="full" />
</object>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文