VIDEO PLAY IN ASP.NET.. [Resolved]

Posted by AGASIMANI under ASP.NET on 11/1/2014 | Points: 10 | Views : 599 | Status : [Member] | Replies : 2
Hi,

I wann play video in webform that is alredy stored in the DB. Which one i select that video i want to play.

can any one help.

Thank You.




Responses

Posted by: Mayurbanerjee on: 12/17/2015 [Member] Starter | Points: 50

Up
1
Down

Resolved
I found this old post without anybody answering while searching for the same subject. Finally I found relevant information and thought to share it for the benefit of others like me.
First you need to get the bytes (video file) from database. There's an old but good article here:
http://mitch-wheat.blogspot.com/2007/05/save-and-restore-filesimages-to-sql.html

After you have the video, you will need to play it in a web page. One way is to use ActiveX (Windows Media Player control) as explained here:
http://www.c-sharpcorner.com/UploadFile/scottlysle/CsharpWebVideo04212007133218PM/CsharpWebVideo.aspx

Another control you can use is Lead tools multimedia, which has an asp.net sample here:
http://support.leadtools.com/SupportPortal/CS/forums/15612/ShowPost.aspx

If you're going to use a browser that doesn't support ActiveX, try to play the video using HTML5 as shown here:
http://www.w3schools.com/html/html5_video.asp


AGASIMANI, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lucygrey on: 12/18/2015 [Member] Starter | Points: 25

Up
0
Down
Hi Mayurbanerjee,
I also want help for the same question. Thanks a lot for the information. The Links , you provided very helpful for me.

Again thanks!!

http://www.keenesystems.com/Services/SoftwareDevelopment.aspx

AGASIMANI, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response