Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Take control of Windows Media Player buttons ???

Status
Not open for further replies.
Feb 2, 2005
21
US
I have the following code that works great for streaming a web radio station. The problem I have is that the default WMP controls are displayed.
Is it possible to turn off the visability of the player and use my own graphics to control it? Like having my own graphic for the play button?

<OBJECT id="Player">
<embed type='application/x-mplayer2'
pluginspage=' src='AutoStart=0 ShowStatusBar=1 volume=-1
HEIGHT=50 WIDTH=400>
</embed>
</OBJECT>

This would essentially allow me to make my own skin for a webpage.

Thanks,
Dave
 
It sure is. Searching on Google for "autostart showstatusbar" was a sure bet for me. The first link shows you how to do just what you asked:


by adding a "ShowControls" attribute with a value of "false".

The same search also found these two prominent results, showing all about custom buttons for WMP:



Amazing what a quick two-word search on Google will find!

Hope this helps,
Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
The trick is in knowing WHICH two words to use. I sure wouldn't have thought of using either of those two search terms!

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
It was a fair bet that the setting the user wanted was set via a parameter, and those were two fairly distinctive parameter names. I thought that if there was a page showing all the parameters, it was bound to have those included.

Elementary, my dear Watson! [pipe]

Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top