Monday, December 8, 2008

To play a video file in .net and execute it in IExplorer

id='mediaPlayer'
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="Video/restoration[1].wmv"
param name='animationatStart' value='true'
param name='transparentatStart' value='true'
param name='autoStart' value="true"
param name='showControls' value="true"
param name='loop' value="true"

Note: Please keep all the lines in tag format in source code of the web page

No comments: