开发者

Showing volume control for embedded MediaPlayer video?

开发者 https://www.devze.com 2023-02-08 08:55 出处:网络
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

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/开发者_如何学JAVAMediaPlayer/" src="URL of my video" width=220 autoStart=0 showcontrols=1>
</object>


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

0

精彩评论

暂无评论...
验证码 换一张
取 消