[Table of Contents] [docx version]
PresentationML Reference Material - Table of Contents
cMediaNode (Common Media Node Properties)
This element is used to describe behavior of media elements, such as sound or movies, in an animation.
[Example: Consider a shape with a sound effect attached to its animation. The <cMediaNode> element should be used as follows:
<p:audio>
<p:cMediaNode mute="1">
<p:cTn display="0" masterRel="sameClick">
<p:stCondLst>...
<p:endCondLst>..
</p:cTn>
<p:tgtEl>..
</p:cMediaNode>
</p:audio>
End Example]
Parent Elements |
Child Elements |
Subclause |
cTn (Common Time Node Properties) |
§4.6.33 |
tgtEl (Target Element) |
§4.6.81 |
Attributes |
Description |
mute (Mute) |
This attribute describes whether the media should be mute.
The possible values for this attribute are defined by the XML Schema boolean datatype. |
numSld (Number of Slides) |
This attribute describes the numbers of slides across which the media should play.
The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
showWhenStopped (Show When Stopped) |
This attribute describes whether the media should be displayed when it is stopped.
The possible values for this attribute are defined by the XML Schema boolean datatype. |
vol (Volume) |
This attribute describes the volume of the media element.
The possible values for this attribute are defined by the ST_PositiveFixedPercentage simple type (§5.1.12.45). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TLCommonMediaNodeData">
<sequence>
<element name="cTn" type="CT_TLCommonTimeNodeData" minOccurs="1" maxOccurs="1"/>
<element name="tgtEl" type="CT_TLTimeTargetElement" minOccurs="1" maxOccurs="1"/>
</sequence>
<attribute name="vol" type="a:ST_PositiveFixedPercentage" default="50000" use="optional"/>
<attribute name="mute" type="xsd:boolean" use="optional" default="false"/>
<attribute name="numSld" type="xsd:unsignedInt" use="optional" default="1"/>
<attribute name="showWhenStopped" type="xsd:boolean" use="optional" default="true"/>
</complexType>