Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

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.
Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxMultiUseControlsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxMultiUseControlsDemos