" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Show Video in ASP.NET

Posted on November 23rd, 2015 by Monalisa Brahma

Add the following in your application to show video (from database)  STEP-1 <object id=’player1′ enableviewstate=’false’ classid=’clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6′ visible=’true’ height=’500′ width=’500′><param name=’url’ value=’ShowImage.ashx?id=51’/><param name=’loop’ value=’false’ /> <param name=’showcontrols’ value=’true’ /></object>  Here (ShowImage.ashx?id=51′) 51 is taken as only example which is the primary key field of table of which video is to be retrieved. STEP-2   <%@ WebHandler Language=”C#” Class=”ShowImage” %> public class […]