Plz help me for the embed code

For .mov embed code in like
[code]
return '
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="'.$w.'" height="'.$h.'" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="' . pathurlencode($this->getFullImage()) . '"/>
<param name="autoplay" value="false" />
<param name="type" value="video/quicktime" />
<param name="controller" value="true" />
<embed src="' . pathurlencode($this->getFullImage()) . '" width="'.$w.'" height="'.$h.'" scale="aspect" autoplay="false" controller"true" type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/" cache="true"></embed>
</object>';
break;
[/code]

How can i convert this code for .wmv with media player

[code]
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
[/code]

Comments

  • acrylian Administrator, Developer
    Please escape code correctly wiht backticks or ``. Anyway, try Google how to embeed wmv files in webpages. Also you will have to create a plugin to show wmv files like mov ones with Zenphoto. Note that many people will not be able to see these (like me on Mac for example).`
Sign In or Register to comment.