Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,
I am woring in a project and need to display a video(which is browse from local drive) is play on .cs page . please tell me how can i do this?????????
Thanks in advance.
Posted

html 5 make it very simple

see this : Playing Videos in HTML[^]
 
Share this answer
 
Comments
Abhinav S 15-Feb-12 1:23am    
HTML 5 is a good approach. My 5.
CRDave1988 15-Feb-12 2:22am    
thanks
 
Share this answer
 
Comments
Neetesh Agarwal 15-Feb-12 1:18am    
Thanks abhinav
Abhinav S 15-Feb-12 1:23am    
You are welcome Neetesh.
CRDave1988 15-Feb-12 1:19am    
Realy Good
Abhinav S 15-Feb-12 1:23am    
Thanks.
in .aspx page place this

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
width="380" height="250">
<param name="movie" value="<% =swfFileName%>" />
<param name="quality" value="high" />
<embed src="<% =swfFileName%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" />
type="application/x-shockwave-flash" width="466" >



// in this the swfFilename is your file name



in .cs page write this

declare it as public (before page load)

public string swfFileName = "";

in page load
swfFileName = "http://resources.corpgenie.com/filename.swf";
// your filename
 
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