Tuesday, December 15, 2009

How To Embed WMV/MOV video file for multiple browsers

MEDIA PLAYER CODE

{DIV align="center"}{OBJECT ID="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject" width="425" height="355"}{PARAM NAME="FileName" VALUE="XXXXXXX"}{PARAM NAME="AnimationatStart" VALUE="false"}{PARAM NAME="TransparentatStart" VALUE="true"}{PARAM NAME="AutoStart" VALUE="true"}{PARAM NAME="ShowControls" VALUE="0"}{PARAM NAME="ShowDisplay" VALUE="0"}{PARAM NAME="ShowStatusBar" VALUE="0"}{PARAM NAME="AutoSize" VALUE="0"}{PARAM NAME="EnableContextMenu" VALUE="false"}{embed TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" SRC="XXXXXXX" HEIGHT="355" WIDTH="425" Name="MediaPlayer" AUTOSTART="1" SHOWCONTROLS="0" EnableContextMenu="0"}{/embed}{/OBJECT}{/div}


QUICK TIME CODE


{DIV align="center"}{object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="425" height="355" codebase="http://www.apple.com/qtactivex/qtplugin.cab"}{param name="src" value="XXXXXX"}{param name="autoplay" value="true"}{param name="controller" value="false"}{embed src="XXXXXX[code]" width="425" height="355" autoplay="true" controller="false" pluginspage="http://www.apple.com/quicktime/download/"}{/embed}{/object}{/div}


.

0 comments:

Post a Comment