Wednesday, May 11, 2011

Inbuilding windows media player in asp..net


<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" height="280" width="320" 
     codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=6,4,7,111">
        <param name="URL" value="Video/Didi.wmv">
        <param name="autoStart" value="false">
        <param name="UIMode" value="full">
        You do not have Windows Media Player installed.
        Get it here.
</object>

just copy and paste below codings in design page of ur asp.net that too inside the form tag in body den u will find a player while running the pages

the codings is

<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='EMBED1' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="Videos/VIDEO1ENG.mpg" autostart="true" designtimesp='5311' loop="true">
</EMBED>

No comments :

Post a Comment