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.
#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 ASPx
- The ASPx
Client object is the ASPxObject Container Object Container control’s client-side equivalent. - The ASPx
Object property specifies a unique client-side identifier for ASPxContainer. Client Instance Name Object Container. This identifier allows you to access the control on the client side. - The ASPx
Object property allows you to access the available client-side events.Container. Client Side Events
You can use one the following techniques to enable the control’s client-side API:
- Set the ASPx
Object property toContainer. Enable Client Side API true
. - Specify the ASPx
Object property.Container. Client Instance Name - Handle any client-side event.
The ASPx