Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to 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 26-Apr-11 3:59am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
v2
Comments
sathya.spidy at 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@Love2Code at 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@Love2Code at 26-Apr-11 10:03am
   
Ps your welcome for the answer :)
sathya.spidy at 27-Apr-11 1:14am
   
Once Again thanks for your answer.
Rob@Love2Code at 27-Apr-11 4:07am
   
Your welcome, good luck with the website! :)
sathya.spidy at 29-Apr-11 3:55am
   
i cannot found a solution for my problem. if u have any coding or web reference please send it to me because i m a beginner for asp .net. so please help me, thanks
Rob@Love2Code at 29-Apr-11 5:24am
   
Seems like quite a big project if you are a beginner!
 
What area of this are you struggling with?
sathya.spidy at 29-Apr-11 7:13am
   
i dont know how to take codings or use codings for the player would you please help me. I m upload the videos in a folder and the path (video url) in database when i click corresponding name the url want to play in the player. i tried many way but i failed would you please help me.
 
thanks
Rob@Love2Code at 29-Apr-11 18:16pm
   
Ok is it 1 video per page? Like Youtube?
 
If it is, you could do it on load. so as it loads up you could have an asp literal and set it to be the programatically.
 
Have you got an address to the site that it will become?
sathya.spidy at 2-May-11 3:44am
   
The site is under development not yet hosted.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 George Jonsson 175
1 Kornfeld Eliyahu Peter 169
2 Zoltán Zörgő 139
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 26 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100