Video Class

Video.When the object is serialized out as xml, its qualified name is p:video.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Video : OpenXmlCompositeElement

The following table lists the possible child types:

  • CommonMediaNode <p:cMediaNode>

[ISO/IEC 29500-1 1st Edition]

19.5.93 video (Video)

This element specifies video information in an animation sequence. This element specifies that this node within the animation tree triggers the playback of a video file; the actual video file used is specified by the videoFile element (§

[Example: Consider a slide with an animated video content. The <video> element is used as follows:

        <p:cNvPr id="4"/>
          <a:videoFile r:link="rId1" contentType="video/ogg"/>
  <p:seq concurrent="1" nextAc="seek">
        <p:spTgt spid="4"/>

The video element specifies the location of the video playback within the animation sequence; its child spTgt element specifies that the shape which contains the video to be played has a shape ID of 4. If we look at the shape with that ID value, its child videoFile element references an external video file of content type video/ogg located at the target of the relationship with ID rId1.end example]

Parent Elements

childTnLst (§19.5.25); subTnLst (§19.5.78); tnLst (§19.5.87)

Child Elements


cMediaNode (Common Media Node Properties)




fullScrn (Full Screen)

This attribute specifies if the video is displayed in full-screen.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_TLMediaNodeVideo) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions