This article describes how to play MP4 videos in a web site or web application using the Media Player.
IntroductionPlaying 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 ManagerSelect the appropriate website to which we want to play a MP4 format video, then click "MIME types" as in the following:Then:Step 2: Click on AddStep 3: Enter the video format information
Step 4: Restart IIS.
Diving Into ASP.NET WebAPI