Click here to Skip to main content
16,020,459 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi Friends,

I want to upload videos in database and i want to retrieve it in my website. i m using asp .net 2.0 with c# my back end is ms sql server 2005. if anyone know the solution please tell to me.

Thanks in advance,
Posted

1 solution

Personally I would store the path to the Video on your site in the database, and do it that way.

so upload to a VideoStore folder on the server. and store the path and file name in database,

Generate a GUID for each video I suppose and then use this to call the video up when playing the video back?

http://www.sothinkmedia.com/guide/putvideo.htm[^]
On that page it shows how to embed flash videos, what you could do is on load bind the location to be the file path of the video.

Would you be showing 1 video per page?
If so, you could use the code they demonstrate but using the binding.
 
Share this answer
 
v2
Comments
sathya.spidy 26-Apr-11 9:06am    
First of all thanks for you answer. ok, then how i play the videos which is in my folder is there any help for that.
Rob Branaghan 26-Apr-11 10:03am    
What format will the videos be? flv? wmv? mp4?

http://www.sothinkmedia.com/guide/putvideo.htm
On that page it shows how to embed flash videos, what you could do is on load bind the location to be the file path of the video.

Would you be showing 1 video per page?
If so, you could use the code they demonstrate but using the binding.
Rob Branaghan 26-Apr-11 10:03am    
Ps your welcome for the answer :)
sathya.spidy 27-Apr-11 1:14am    
Once Again thanks for your answer.
Rob Branaghan 27-Apr-11 4:07am    
Your welcome, good luck with the website! :)

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