Allow Video format to play in MediaPlayer


This is a common problem with video format type to play in the web site/web applications if we use the media player.

In this article, I would like to give a simple solution to allow the “*.mp4” format video files to play in the media player in our web application in the IIS. 

This video file format is not allowed in the IIS under MIME type. The following steps are done in the Internet Information Server (IIS).
 
Step# 1
Start IIS Manager



Select the appropriate website to which we want to allow “mp4” format, then click MIME types

Step# 2
Click on Add


 Step# 3
Enter the video format information
File name extension: .mp4
MIME type: video/mp4

 Step# 4
Restart IIS.

Popular posts from this blog

Exporting to excel from a custom class object using C#.NET

Get the Clicked Cell Value and Column Name of GridView in ASP.NET

How to hide bootStrap popover when user click(s) outside the popover?