Christopher Richards wrote:
> Is it possible to correctly validate an xhtml page with the object ID and
> embed necessary to implant a windows media player in an html page?
> Here is the code suggested by http://www.streamalot.com/embed.shtml. This
> validator http://validator.w3.org/file-upload.html doesn't like it at all.
================================================================
<!-- BEGIN GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
<object id="MediaPlayer1" width=180 height=200
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject" align="middle">
<param name="FileName" value="Server/file">
<param name="ShowStatusBar" value="True">
<param name="DefaultFrame" value="mainFrame">
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="Server/File" align="middle"
width=176
height=144
defaultframe="rightFrame"
showstatusbar=true>
</embed>
</object> <!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA
PLAYER --><br>
<a href="Server/file"><font size="2">Click
here for standalone player</font></a><br>
<a
href="http://www.microsoft.com/windows/windowsmedia/en/default.asp"><font
size="1">Download Windows Media Player Here</font></a></p>
================================================================
Without trying the validation, I can already spot some tags that do not
close, e.g. replace <br> with <br />.
The code above was probably intended for HTML, not XHTML.
Roy
--
Roy Schestowitz
http://schestowitz.com
|
|