<?xml version="1.0" encoding="windows-1252"?>
<node id="598527" title="Re: OT: Displaying Windows Media file from database?" created="2007-02-06 08:25:05" updated="2007-02-06 03:25:05">
<type id="11">
note</type>
<author id="56130">
Thelonius</author>
<data>
<field name="doctext">
Make sure your mark-up works with a file before trying it with your script.  I had no problems getting a script to work with this mark-up:
&lt;code&gt;
&lt;object id="MediaPlayer" width=320 height=286
  classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" 
  standby="Loading
  Windows Media Player components..." type="application/x-oleobject"
  codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"&gt;

&lt;param name="filename" value="/cgi-bin/playwmv"&gt;
&lt;param name="Showcontrols" value="True"&gt;
&lt;param name="autoStart" value="True"&gt;

&lt;embed type="application/x-mplayer2"
src="/cgi-bin/playwmv" name="MediaPlayer" width=320 height=240&gt;
&lt;/embed&gt;
&lt;/object&gt;
&lt;/code&gt;</field>
<field name="root_node">
598461</field>
<field name="parent_node">
598461</field>
</data>
</node>
