显示嵌入式 MediaPlayer 视频的音量控制?

发布于 2024-10-15 06:27:51 字数 752 浏览 2 评论 0原文

我认为嵌入式视频会有一个简单的参数来显示音量控制,但除了使用 jquery 控制系统音量的东西之外,我似乎找不到任何东西。有没有办法只启用嵌入式视频的内置音量控制?

如果我使用此代码嵌入视频,是否有办法启用播放器的音量控制?

<object CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="220">
<param name="fileName" value="URL of my Video">
<param name="autoStart" value="false">
<param name="showControls" value="true">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="URL of my video" width=220 autoStart=0 showcontrols=1>
</object>

I would think there would be a simple param for embedded videos to show a volume control but I cannot seem to find anything except stuff on controlling the systems volume using jquery. Is there a way to just enable the built in volume control of an embedded video?

If I use this code to embed the video is there a way to enable the volume control of the player?

<object CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="220">
<param name="fileName" value="URL of my Video">
<param name="autoStart" value="false">
<param name="showControls" value="true">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="URL of my video" width=220 autoStart=0 showcontrols=1>
</object>

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

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

发布评论

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

评论(1

白衬杉格子梦 2024-10-22 06:27:51

是的,有。显然你为两名玩家添加了它。我不知道参数是否正确,但这种嵌入技术确实已经过时,并且不会像视频那样得到尽可能多的客户支持。

您应该查看 html5 video 标签,下一个最佳替代方案(imo)是 flash。

看看这篇文章:http://camendesign.com/code/video_for_everybody

yes there is. and apparently you added it for two players. i dunno whether the parametes are correct, but this embedding teqnique is really out of date and will not be supported for as many clients as video could be.

you should check out the html5 video tag, the next best alternative (imo) is flash.

have a look at this article: http://camendesign.com/code/video_for_everybody

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文