Inserting Media

To insert a media component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert a media component.
  2. In the Component Palette, select Simple Components from the dropdown list, and then drag and drop the media component to the parent node of your choice.

    The media node is inserted and highlighted under the expanded parent node.

  3. In the Property Inspector, set the following attributes for the media component:

Note: To use data binding, see Data Binding a Component Attribute.

Examples (UIX XML)


...
<media source="house.wma" />
...
<media source="house.wma"
       controls="minimal"
       shortDesc="Bad House Music" 
       standyText="I wish I wasn't loading this..."/>
...
<media source="seattle.wmv"
       innerWidth="160"
       innerHeight="112" 
       autostart="true" 
       controls="all" />
...    

About Media

Working with Simple and Miscellaneous Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.