Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
plz tel me how can i select which media player to play in all browsers in asp.net ?
Posted

1 solution

This <object> & <embed /> working for appox all browser. As example

<object id="mPlayer" 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 player components..." type="application/x-oleobject" width="320" height="310">
<param name="filename" value="./test.wmv" />
<param name="animationatstart" value="true" />
<param name="transparentatstart" value="true" />
<param name="autostart" value="true" />
<param name="showcontrols" value="true" />
<param name="ShowStatusBar" value="true" />
<param name="windowlessvideo" value="true" />
<embed src="./test.wmv" autostart="true" showcontrols="true" showstatusbar="1" bgcolor="white" width="320" height="310" />


OR if possible use HTML5 page for
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900