Allow Video Format to Play in MediaPlayer

Introduction

Playing videos is a common problem with video format types. To play in a web site or web application we can use the Media Player.

In this article, I would like to provide a simple solution to allow the MP4 format video files to play in the media player in our web application in IIS.

This video file format is not allowed in the IIS under MIME type.

The following procedure is done in the Internet Information Server (IIS).

Step 1:
Start the IIS Manager

Start IIS Manager

Select the appropriate website to which we want to play a MP4 format video, then click "MIME types" as in the following:

Mime types

Then:

mime

Step 2: Click on Add

Click on Add

Step 3: Enter the video format information

  • File name extension: .mp4MIME type: video/mp4.

    video format

Step 4: Restart IIS.

Up Next
    Ebook Download
    View all
    Learn
    View all