Skip to main content

ObjectContainer

  • 2 minutes to read

The ASPxObjectContainer control allows you to display media data (Flash, image, video, audio) on a web page. Use the ASPxObjectContainer.ObjectUrl property to specify the source of the media data. ASPxObjectContainer can automatically define the type of media data. To customize the container object’s settings, use the ASPxObjectContainer.ObjectProperties property.

ASPxObjectContainer

 

HTML5 Audio

Supports MP3 audio files.

HTML5 Video

Supports MP4 video files.

Macromedia Shockwave Flash (SWF)

For more information on Flash object settings, see members of the following class: FlashObjectProperties.

Image

ASPxObjectContainer supports the following image types: BMP, GIF, ICO, JPEG, and PNG.

For more information on image object settings, see members of the following class: ImageObjectProperties.

Video

ASPxObjectContainer supports the following video file types: ASF, ASX, AVI, MP4, MPE, MPEG, MPG, WM, WMV, WMX, WVX.

For more information on video object settings, see members of the following class: VideoObjectProperties.

Audio

ASPxObjectContainer supports the following audio file types: AIF, AIFC, AIFF, AU, M4A, MID, MIDI, MP2, MP3, MPA, RMI, SND, WAV, WAX, WMA.

For more information on audio object settings, see members of the following class: AudioObjectProperties.

Note

The ASPxObjectContainer control includes comprehensive client-side functionality:

You can use one the following techniques to enable the control’s client-side API:

The ASPxClientObjectContainer object is disabled until the ASPxObjectContainer.ObjectUrl property is specified.