i have an application where i require to upload a video as:
html
<iframe id="frame1" runat="server" visible="false"
style="height: 222px; width: 482px;"></iframe>
Code
Finalpath = filepath + filename;
frame1.Visible = true;
frame1.Attributes.Add("src", Finalpath);
but when i load the video Extension Mp4 it shows the error in Iframe
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
how to handle this Server Error and what type(extension) of video i can upload? thanks for any assistance..
You should add MIME type for .MP4 format on IIS or in web.config file
In Web.Config For IIS 7 you can add this section in configuration.
You can use HTML 5
<video>tag to display your .mp4 video