Volume Slider for Embedded Windows Media player

  • bumfilter
  • Born
  • Born
  • bumfilter
  • Posts: 2

Post 3+ Months Ago

Hi all,

It's about the only thing I can't find on google, can anyone help? I know it's possible as I have seen it on a website but looking at the code for a few pointers was useless.

Can anyone help me out, know of any easy to understand examples?

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Posts: 279
  • Loc: Buenos Aires, Argentina

Post 3+ Months Ago

Get the Windows Media Player SDK from Microsoft, it's full documented including pices of code in JavaScript and VBScript/
  • bumfilter
  • Born
  • Born
  • bumfilter
  • Posts: 2

Post 3+ Months Ago

I don't have a clue what to look for. I tried this:

http://msdn.microsoft.com/library/defau ... volume.asp


but it just give me MediaPlayer.Volume.

Don't know how to use this at all.

any help is much appreciated.
  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Posts: 279
  • Loc: Buenos Aires, Argentina

Post 3+ Months Ago

You have to name the ActiveX control using ID or NAME attribute in the HTML embed. The, you can set the media volume by changing the value of the volume property.

If you have a VolumeUp button and name you ActiveX DSPlay1 in your page, then you can use somthing like:

Code: [ Select ]
<img src="images/VD.png" alt="" name="VD" id="VD" width="25" height="13" border="0" style="cursor: pointer;" onClick="if (DSPlay1.volume >= -1900) {DSPlay1.volume=DSPlay1.volume-100;}">


Check the Metadata demo in this site -> http://www.tributech.com.ar

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 73 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.