Hi,
I'm using a
js I found for an embedded media player (Real, Qtime and WMP) to stream audio with Shoutcast (a winamp plugin).
It works great, however it doesn't validate in WC3.
It says "there is no attribute "SRC"." etc... same for most of the other attributes.
I've read here...
http://alistapart.com/articles/flashsatay
that EMBED and many other attributes aren't going to be recognized as valid, however, I don't see what I can change about this code so that it still works and is valid.
The
JS...
- HTML: Select all
<body bgcolor="#333333">
<table width="420" border="0" cellpadding="0" align="center">
<tr>
<td><p align="center" class="maxstyle"><strong><font color="#FFFFFF">Streaming
Radio from </font></strong></p>
<p align="center" class="maxstyle"><strong><font color="#FFFFFF"><img src="picture" width="140" height="27" alt="logo"></font></strong></p>
<p align="center" class="maxstyle"><font color="#FFFFFF"><strong><em><font size="6">Real
Player </font></em></strong></font></p>
<p align="center"><OBJECT
ID=video1
classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA
HEIGHT=99 WIDTH=418>
<PARAM NAME="controls" value="All">
<PARAM NAME="console" value="Clip1">
<param name="_ExtentX" value="10001">
<param name="_ExtentY" value="2619">
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<param name="SRC" value="http://xx.xxx.xxx.xx.xxx/listen.pls">
<EMBED src="http://xx.xxx.xxx.xx.xxx/listen.pls"
type="audio/x-pn-realaudio-plugin" CONSOLE="all" CONTROLS="All"
HEIGHT=105 WIDTH=350 AUTOSTART=false></OBJECT></p>
</tr>
</table>
</body>
</html>
Any help is appreciated.
Thanks.