Javascript: Mediaplayer and its Progress Bar

Posted by Geetha on Stack Overflow See other posts from Stack Overflow or by Geetha
Published on 2010-03-17T09:57:22Z Indexed on 2010/03/17 10:01 UTC
Read the original article Hit count: 566

Hi All,

In my asp.net application i am using mediaplayer to paly the audio and video. i am controling volume using javascript code. I want to display a userdefined progress bar. How to create it.

Code:

  <object id="mediaPlayer" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" 
                    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" 
                    height="1" standby="Loading Microsoft Windows Media Player components..." 
                    type="application/x-oleobject" width="1">
                    <param name="fileName" value="" />
                    <param name="animationatStart" value="true" />
                    <param name="transparentatStart" value="true" />
                    <param name="autoStart" value="true" />
                    <param name="showControls" value="true" />
                    <param name="volume" value="100"  />
                    <param name="loop" value="true"  />
                </object>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about mediaplayer