CommonMediaNode class
Common Media Node Properties. When the object is serialized out as xml, its qualified name is p:cMediaNode.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.CommonMediaNode
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
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:stCondLst>
<p:endCondLst>
… </p:endCondLst>
</p:cTn>
<p:tgtEl>
… </p:tgtEl>
</p:cMediaNode>
</p:audio>end example]
Parent Elements |
|---|
audio (§19.5.9); video (§19.5.93) |
Child Elements | Subclause |
|---|---|
cTn (Common Time Node Properties) | §19.5.33 |
tgtEl (Target Element) | §19.5.81 |
Attributes | Description |
|---|---|
mute (Mute) | This attribute describes whether the media should be mute. The possible values for this attribute are defined by the W3C 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 W3C 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 W3C 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 (§20.1.10.45). |
[Note: The W3C XML Schema definition of this element’s content model (CT_TLCommonMediaNodeData) is located in §A.3. end note]
© ISO/IEC29500: 2008.