Re: Playing wmv files on a webpage

From: Neil Smith [MVP Digital Media] (neil_at_nospam.com)
Date: 10/18/04


Date: Mon, 18 Oct 2004 23:00:34 GMT

Sorry, maybe the comment syntax is OK, I forgot newsreaders strip out
the two - - characters when posting (it's the end of a section marker)

Still, move your body elements into the right place.

Cheers - Neil

On Mon, 18 Oct 2004 16:28:50 GMT, "Neil Smith [MVP Digital Media]"
<neil@nospam.com> wrote:

>Now your HTML has no body element (required for valid HTML DOM) and
>instead you've moved them to the bottom.
>
> <body>
>
> </body>
>
></html>
>
>And no, you haven't fixed it because your comment is still
><!-- begin emb e ddedWindowsMediafile...--
>and it must be closed as like so :
><!-- begin emb e ddedWindowsMediafile...--
>
>It may help to validate your HTML at this site
>http://validator.w3.org/
>
>Please, for gods sake stop using front page, go read an HTML tutuorial
>and come back when you can make valid HTML.
>
>Cheers - Neil
>
>On Mon, 18 Oct 2004 10:55:59 -0400, "w_montene"
><w_montenegro@hotmail.com> wrote:
>
>>I think I fix the broken links but still doesn't work.
>>
>><html>
>>
>><head>
>><meta http-equiv="Content-Type" content="text/html;
>>charset=windows-1252">
>><title>Wol-Ceram Media Center</title>
>>
>><script language="javascript1.2" type="text/javascript">
>>function setFilePath(fileurl) {
>> var player=document.getElementById("mediaplayer");
>> player.URL=fileurl;
>>
>>}
>></script>
>>
>></head>
>>
>>
>>
>><!-- begin emb eddedWindowsMediafile...--
>> <table border="0" cellpadding="0" align="center">
>> <tr><td>
>> <OBJECT id="mediaplayer" width="480" height="406"
>> 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">
>> <param name="fileName" value="0">
>> <param name="animationatStart" value="-1">
>> <param name="transparentatStart" value="-1">
>> <param name="autoStart" value="-1">
>> <param name="showControls" value="-1">
>> <param name="AudioStream" value="-1">
>> <param name="AutoSize" value="0">
>> <param name="AllowScan" value="-1">
>> <param name="AllowChangeDisplaySize" value="-1">
>> <param name="AutoRewind" value="0">
>> <param name="Balance" value="0">
>> <param name="BaseURL" value>
>> <param name="BufferingTime" value="5">
>> <param name="CaptioningID" value>
>> <param name="ClickToPlay" value="-1">
>> <param name="CursorType" value="0">
>> <param name="CurrentPosition" value="-1">
>> <param name="CurrentMarker" value="0">
>> <param name="DefaultFrame" value>
>> <param name="DisplayBackColor" value="0">
>> <param name="DisplayForeColor" value="16777215">
>> <param name="DisplayMode" value="0">
>> <param name="DisplaySize" value="4">
>> <param name="Enabled" value="-1">
>> <param name="EnableContextMenu" value="-1">
>> <param name="EnablePositionControls" value="-1">
>> <param name="EnableFullScreenControls" value="0">
>> <param name="EnableTracker" value="-1">
>> <param name="InvokeURLs" value="-1">
>> <param name="Language" value="-1">
>> <param name="Mute" value="0">
>> <param name="PlayCount" value="1">
>> <param name="PreviewMode" value="0">
>> <param name="Rate" value="1">
>> <param name="SAMILang" value>
>> <param name="SAMIStyle" value>
>> <param name="SAMIFileName" value>
>> <param name="SelectionStart" value="-1">
>> <param name="SelectionEnd" value="-1">
>> <param name="SendOpenStateChangeEvents" value="-1">
>> <param name="SendWarningEvents" value="-1">
>> <param name="SendErrorEvents" value="-1">
>> <param name="SendKeyboardEvents" value="0">
>> <param name="SendMouseClickEvents" value="0">
>> <param name="SendMouseMoveEvents" value="0">
>> <param name="SendPlayStateChangeEvents" value="-1">
>> <param name="ShowCaptioning" value="0">
>> <param name="ShowAudioControls" value="-1">
>> <param name="ShowDisplay" value="0">
>> <param name="ShowGotoBar" value="0">
>> <param name="ShowPositionControls" value="-1">
>> <param name="ShowStatusBar" value="-1">
>> <param name="ShowTracker" value="-1">
>> <param name="VideoBorderWidth" value="0">
>> <param name="VideoBorderColor" value="0">
>> <param name="VideoBorder3D" value="0">
>> <param name="Volume" value="-600">
>> <param name="WindowlessVideo" value="0">
>> <EMBED type="application/x-mplayer2"
>>pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
>>name="mediaplayer" width=480 height=406>
>> </EMBED>
>> </OBJECT>
>> </td></tr>
>> <!-- ...end embedded WindowsMedia file -->
>> <tr><td align='center'>
>>
>> <a href="http://www.sdi-corp.com/videos/promodsl.wmv"
>>onclick="setFilePath('http://www.sdi-corp.com/videos/promodsl.wmv');
>> return false">Wol-Ceram Promotional Video</a>
>>
>> </td></tr>
>> <tr><td align='center'>
>>
>> <a href="http://www.sdi-corp.com/videos/softwareup.wmv"
>>onclick="setFilePath('http://www.sdi-corp.com/videos/softwareup.wmv');
>> return false">Wol-Ceram Software Updates Video</a>
>>
>> </td></tr>
>> <tr><td align='center'>
>> </td></tr>
>> </table>
>> <body>
>>
>> </body>
>>
>></html>