-
Colouring WMP Objects
Hey,
I was wondering if it is possible to perhaps change the colour of a Windows Media Player object. The nearest I was able to come to was using CSS Filters. However, CSS Filters only allow you to add effects such as Grayscale and Invert. Apparently, this is possible, but does anybody no how?
Cheers,
Halting
-
you mean the ones on websites?
You can use images and stuff. There is a tutorial on the MS Website somewhere.
-
i have it in a black style. il upload a pic later
-
I know how to do that using CSS Filter.
I have found out how to create a WMP Coloured object. However, it is only viewable on IE. An advantage of my little script is that you can change the colour via Colour Codes.
I will post the HTML for this later.
-
nice. that would really help me
-
HTML Code:
<table style="border: 1px solid #000000;" bgcolor="#0FF000" style="filter:alpha(opacity=100);opacity:.100;" cellpadding="0" cellspacing="0"><tr><td><EMBED style="filter:alpha(opacity=45) Gray();opacity:.45; WIDTH: 146px; HEIGHT: 30px" src=playlist.asx width=146 height=30 type=audio/x-ms-asf invokeURLs="false" autostart="true" AllowScriptAccess="never" invokeURLS="false" showControls="true" volume="0" LOOP="0" enablecontextmenu="0"></td></tr></table>
I've put a 1px border around the object. To change the colour, change this:-
HTML Code:
bgcolor="#0FF000"