Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello sir,
i want to create a video player for a website which play all type of video.this is my video player coding.through this coding my video player is not working correctly.please help me.......
C#
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="Player1" width="424" height="379">

        <param name="URL" value="video\veer zaara.divx">

        <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"

pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" 

width="424" height="379" src="video\veer zaara.divx"

filename="video\veer zaara.divx" autostart="1" showcontrols="1" showstatusbar="1" showdisplay="1">

</embed>

</object>
</asp:Content>
Posted
Comments
Sergey Alexandrovich Kryukov 9-Jan-13 16:49pm    
All types?! If you really mean "all", forget it. Nothing plays all, and for a Web application playing video on the page, very limited set of formats is legitimate.
And "not working correctly" in not informative...
—SA

1 solution

Please consider this: http://videoplayer.codeplex.com/[^].

—SA
 
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