Click here to Skip to main content
16,019,107 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a video in database. now I want to show it on another page. I have written following code. bt it is not working. please help.
HTML
 <object width="320" height="290" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
                                                id="mediaplayer1">
                                                <param name="Filename" value="&lt;%#Eval(" video=")%&gt;" />
                                                <param name="AutoStart" value="True">
                                                <param name="ShowControls" value="True">
                                                <param name="ShowStatusBar" value="True">
                                                <param name="ShowDisplay" value="True">
                                                <param name="AutoRewind" value="True">
                                                <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
                                                    width="320" height="290" src='<%#Eval("video")%>' filename='<%#Eval("video")%>'
                                                    autostart="True" showcontrols="True" showstatusbar="False" showdisplay="False"
                                                    autorewind="True">
</embed>
                                            </object>
Posted
Updated 1-Mar-13 20:49pm
v3

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