Preview Files (.doc and .pdf) before Upload in ASP.Net

Last Reply 10 months ago By pandeyism

Posted 10 months ago

I have this code which shows preview of image as soon as its user gives path how can add the same with video so when user select video to upload it shows preview of video just like the below code showing for image please advice

Upload Images
<input type="file" multiple="multiple" name="File1" id="File1" accept="image/*" />
<br />
<br />
<div id="showimage">
<hr />
<asp:Button ID="Button1" runat="server" Text="Upload and Save" OnClick="Button1_Click" />
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>