Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
hi to all ,
i inserted my video into sql server , but i want to retrive videos into web app the data stored in bytes format how can i play y videos into web app
send any snippet or procedure<b></b>
Posted

Hi,

For playing videos and showing image galleries i like to use multibox[^]. Author home page is here[^].

You can also try divbox[^].

One more thing. If I were you I wouldn't keep video files in database. Database in my case would hold some metadata for video (resolution, category, path to the video file on drive, name, type...).
 
Share this answer
 
Comments
gleutar 6-Feb-12 4:48am    
Very nice! Answers my unasked question :)
The only real way to do this, is to have a HTTP handler that accepts a URL, reads the DB from the database, and returns the bytes of the file to the video player. It's far more sensible to store a file path in the DB and use that to send a file from the file system.
 
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