Plays a media file (video or audio) in a Web page.
Assembly: Microsoft.Web.Helpers (in Microsoft.Web.Helpers.dll)
Thetype exposes the following members.
This class represents a helper, which is a component that simplifies Web programming in ASP.NET Web Pages. You can use the class to display a media player on a Web page and specify the media file (video or audio) to play.
There are several of formats for video files, and each format typically requires a different player and a different way to configure the player. The class simplifies the process of embedding videos or audio files in a web page because it automatically generates the object object and Html elements that are normally used to add media to the page.
The class supports the following media players:
When a browser downloads a file, the browser makes sure that the file type matches the MIME type (the content type or media type of a file) that is specified for the document that is being rendered. The class supports the following MIME types: