Skip to content

Interface: AvMediaItem ​

One embedded audio/video item extracted for Presentation.appendSlides.

Properties ​

mediaBytes ​

mediaBytes: Uint8Array

The audio/video binary the media part will hold.


mediaContentType ​

mediaContentType: string

OPC content type for the media part (PowerPoint-authored, e.g. audio/mpeg).


mediaExtn ​

mediaExtn: string

Media file extension (no dot), e.g. mp4, mp3.


mediaRid ​

mediaRid: number

Body rId of the ECMA audio/video rel (r:link); points at the media part.


msMediaRid ​

msMediaRid: number

Body rId of the MS-2007 media rel (p14:media r:embed); shares the media part Target.


mtype ​

mtype: "audio" | "video"

Whether the item is audio (<a:audioFile>) or video (<a:videoFile>).


previewBytes ​

previewBytes: Uint8Array

The preview/poster image bytes.


previewContentType ​

previewContentType: string

OPC content type for the preview image part.


previewExtn ​

previewExtn: string

Preview image extension (no dot), e.g. png.


previewRid ​

previewRid: number

Body rId of the preview image rel (a:blip r:embed in the blipFill).