- 2 minutes to read
The ASPxObjectContainer control allows media data (flash, image, video, audio) to be present on a web page. The source of the media data is specified by the ASPxObjectContainer.ObjectUrl property. By default, the type of media data is automatically defined by the ASPxObjectContainer control. To customize the container object's settings, use the ASPxObjectContainer.ObjectProperties property.
Support MP3 audio files.
Support MP4 video files.
Macromedia Shockwave Flash (SWF)
For more information on flash object settings, see FlashObjectProperties.
The following types of images are supported: BMP, GIF, ICO, JPEG, PNG.
For more information on image object settings, see ImageObjectProperties.
The following types of video files are supported: ASF, ASX, AVI, MP4, MPE, MPEG, MPG, WM, WMV, WMX, WVX.
For more information on video object settings, see VideoObjectProperties.
The following types of audio files are supported: AIF, AIFC, AIFF, AU, M4A, MID, MIDI, MP2, MP3, MPA, RMI, SND, WAV, WAX, WMA.
For more information on audio object settings, see AudioObjectProperties.
- The control's client-side equivalent is represented by the ASPxClientObjectContainer object.
- On the client side, the client object can be accessed directly by the name specified via the ASPxObjectContainer.ClientInstanceName property.
- The available client events can be accessed by using the ASPxObjectContainer.ClientSideEvents property.
The control's client-side API is enabled if the ASPxObjectContainer.EnableClientSideAPI property is set to true, or the ASPxObjectContainer.ClientInstanceName property is defined, or any client event is handled.