<p>I did video upload in my application, but its displaying error when trying to upload. i just want to upload any size of video and it will be displayed in thumbnail so that when users click on the thumbnail it will start playing on the video player in my website. Please any idea on how to inprove on this ?</p> <p>code:</p> <p></p> <pre class="prettyprint">using System.Data.SqlClient; using System.IO; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnUpload_Click(object sender, EventArgs e) { using (BinaryReader br = new BinaryReader(FileUpload1.PostedFile.InputStream)) { byte[] bytes = br.ReadBytes((int)FileUpload1.PostedFile.InputStream.Length); Go to the complete details ...