This is the <object> code in a web site folder "foldera" which plays a wmv file.
It works OK.
<OBJECT ID="MediaPlayer" WIDTH="720" HEIGHT="540" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
<STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="cold.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2" SRC="cold.wmv" NAME="MediaPlayer"
WIDTH="720" HEIGHT="540" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>
</OBJECT>
I have identical coding in a second folder to play the same wmv in "folderb".
It would save web page space (55 kllobytes) if I could change the <object> code
in the Folderb so that it plays the wmv file in foldera
I could then remove the code and the wmv file from Folderb.
I cannot find a way to modify the <object> code in foldera to do this.
Presumeably by changing the Parameter "File Name" VALUE="cold.wmv"
But it will not work if I use "File Name" VALUE="../foldera/cold.wmv"
Can you help ?
It works OK.
<OBJECT ID="MediaPlayer" WIDTH="720" HEIGHT="540" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
<STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="cold.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2" SRC="cold.wmv" NAME="MediaPlayer"
WIDTH="720" HEIGHT="540" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>
</OBJECT>
I have identical coding in a second folder to play the same wmv in "folderb".
It would save web page space (55 kllobytes) if I could change the <object> code
in the Folderb so that it plays the wmv file in foldera
I could then remove the code and the wmv file from Folderb.
I cannot find a way to modify the <object> code in foldera to do this.
Presumeably by changing the Parameter "File Name" VALUE="cold.wmv"
But it will not work if I use "File Name" VALUE="../foldera/cold.wmv"
Can you help ?