3.2 Media

The following shows an example of a media (section 2.3.1.18) extension:

             <p:pic>
                 <p:nvPicPr>
                     <p:cNvPr id="4" name="video1.wmv" />
                     <p:cNvPicPr>
                         <a:picLocks noChangeAspect="1"/>
                     </p:cNvPicPr>
                     <p:nvPr>
                         <a:videoFile r:link="rId1"/>
                         <p:extLst>
                             <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">
                                 <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId2">
                                     <p14:trim st="18374.0515" end="29596.7072"/>
                                     <p14:fade in="1000"/>
                                     <p14:bmkLst>
                                         <p14:bmk name="Bookmark 1" time="53703.3597"/>
                                     </p14:bmkLst>
                                 </p14:media>
                             </p:ext>
                         </p:extLst>
                     </p:nvPr>
                 </p:nvPicPr>
           </p:pic>

This example shows an embedded media that represents a video. The r:embed attribute of the p14:media element has a value of "rId2" and indicates the relationship identifier to use to find the Media (section 2.3.1.18) part. The st attribute of the p14:trim element has value of 18374.0515 and the end attribute has a value of 29596.7072. Together they indicate that the video has been trimmed, such that the first frame played is 18.3740515 seconds from the start of the video and the last frame played is 29.5967072 seconds from the end of the video. The in attribute of the p14:fade element has a value of 1000 and indicates the video will fade in for 1 second of playback. Finally, the p14:bmk element indicates a media bookmark. The time attribute has a value of 53703.3597 and indicates the bookmark location is 53.7033597 seconds from the start of the video. The bookmark can be used to easily jump to a particular point in the video or to trigger a separate animation.