Video file or any other static content file not downloading and playing correctly on an IIS web server? Its a MIME file-type issue
Videos not downloading on an IIS server? The probably cause is that the server has not been told how to handle a particular file type.
Save the following code (below) as a web.config file. Upload this file to the folder storing the videos that are not being served up correctly. In the case below .mp4 videos were not being served by the server. So a .mp4 extension is being added as a valid video file extension.
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=”.mp4″ mimeType=”video/mpeg” />
</staticContent>
</system.webServer>
</configuration>