Marketplace API / Types
Video
ObjectA hosted video.
type Video implements Asset & NodeFields
| Field | Type | Description |
|---|---|---|
alt | NonEmptyString | Alternative text for the video. |
createdAt | DateTime! | When the video was uploaded. |
duration | Duration! | The video's duration. |
height | PositiveInt! | Intrinsic pixel height of the original video. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
mimeType | MimeType! | The video's MIME type. |
posterImage | Image | A still frame captured from this video. Null when no frame is stored for the video. The frame is an independent image: it has its own ID, which resolves through Query.node and Query.asset when the video's own ID does and a frame is stored, and it repeats the video's alt text. No media connection returns it as an item of its own. |
url | URL! | The absolute URL of the original video. |
width | PositiveInt! | Intrinsic pixel width of the original video. |