API reference / Common / Engine types / ShapeMedia
Interface: ShapeMedia
The media an element plays (a:EG_Media in p:nvPr, and p14:media in its p:extLst).
Properties
| Property | Description |
|---|---|
kindShapeMediaKind | Which a:EG_Media element. |
data?string | The file, held by its id: p14:media's target (@r:link over @r:embed, MS-PPTX §2.3.3.14), else a:wavAudioFile/@r:embed, or the @r:link of the other file elements where it names a part of the package. None when the file is outside the package, and for an a:audioCd, which has none. |
trimStart?number | p14:trim/@st — milliseconds cut from the start. |
trimEnd?number | p14:trim/@end — milliseconds cut from the end. |
fadeIn?number | p14:fade/@in — milliseconds the sound fades in over. |
fadeOut?number | p14:fade/@out — milliseconds the sound fades out over. |
bookmarks?ShapeMediaBookmark[] | p14:bmkLst — named points in the file, in the list's order. |