Change Theme Settings
Change Theme Settings
Show All Themes

Media Types

Select ObjectType

The DevExpress ASP.NET Object Container (ASPxObjectContainer) allows different types of media (such as flash files, images, videos and audios) to be embedded in a web page.

In this demo, the ASPxObjectContainer control's ObjectType property is used to define the type of media data to load onto the page. The source of the media data is specified by the ObjectUrl property.

The Object Container can be rendered as the following Html5 media elements, which are supported by most modern platforms and browsers.

  • Audio – set the ObjectType property to Html5Audio and provide an audio file in an MP3 format.
  • Video – set the ObjectType property to Html5Video and provide a video file in an MP4 format.