[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

movie (Embedded Video)

This element specifies a location within a document where the specified parent image shall be treated as a static placeholder for an embedded movie. The specified movie file's contents should be displayed when requested at this location in the document. The location of the embedded movie to be displayed when supported shall be specified by the relationship whose Id attribute matches the id attribute on this element.

If the relationship type of the relationship specified by this element is not http://schemas.openxmlformats.org/officeDocument/2006/movie, or is not present, then the document shall be considered non-conformant. If an application cannot process external content of the content type specified by the targeted part, then it may be ignored.

[Example: Consider a WordprocessingML document which contains a VML shape holding the static image for a movie:

<v:shape id="_x0000_s1026" … >
<w:movie r:id="rIdMovie" />
<v:imagedata r:id="rId5" r:pict="rId6" o:title="" o:movie="7168" />
</v:shape>

The movie element specifies that the part targeted by the relationship with an ID of rIdMovie shall be imported at the beginning of the document. Examining the contents of the corresponding relationship part item, we can see the targets for that relationship:

<Relationships … >

<Relationship Id="rIdMovie" TargetMode="Internal" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/movie" Target="movie.mov" />

</Relationships>

The corresponding relationship part item shows that the movie file is located next to the main document and is named movie.mov. end example]

Parent Elements

pict2.3.3.21); pict2.9.23)

 

Attributes

Description

id (Relationship to Part)

 

Namespace: .../officeDocument/2006/relationships

Specifies the relationship ID to a specified part.

 

The specified relationship shall match the type required by the parent element:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer for the footerReference element

http://schemas.openxmlformats.org/officeDocument/2006/relationships/header for the headerReference element

http://schemas.openxmlformats.org/officeDocument/2006/relationships/font for the embedBold, embedBoldItalic, embedItalic, or embedRegular elements

http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings for the printerSettings element

 

[Example: Consider an XML element which has the following id attribute:

 

<… r:id="rId10" />

 

The markup specifies the associated relationship part with relationship ID rId1 contains the corresponding relationship information for the parent XML element. end example]

 

The possible values for this attribute are defined by the ST_RelationshipId simple type7.8.2.1).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Rel">

   <attribute ref="r:id" use="required"/>

</complexType>