Click here to Skip to main content
15,792,352 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project i need to play videos,at present am using windows media player but there is a browser comptability problem so please let me know the solution......

1 solution

For browser comparability, try the below code:
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="Player1" width="424" height="379">
        <param name="URL" value="C:\WINDOWS\clock.avi">
        <param name="http://path_to_the_video">
        <param name="AutoStart" value="1">
        <param name="ShowControls" value="1">
        <param name="ShowStatusBar" value="1">
        <param name="ShowDisplay" value="1">
        <param name="stretchToFit" value="1">
        <embed type="application/x-mplayer2">
width="424" height="379" src="C:\WINDOWS\clock.avi"
filename="C:\WINDOWS\clock.avi" autostart="1" showcontrols="1" showstatusbar="1" showdisplay="1">
</body> </html>
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