Video
Requires access scope,
access scope,
access scope,
access scope,
access scope or
access scope.
Represents a Shopify hosted video.
Anchor to FieldsFields
- •
A word or phrase to share the nature or contents of a media.
- Anchor to createdAtcreated•
At DateTime! non-null The date and time (ISO 8601 format) when the file was created.
- Anchor to durationduration•
The video's duration in milliseconds. This value is
null
unless the video's status field is READY.- Anchor to fileErrorsfile•
Errors [FileError!]! non-null Any errors that have occurred on the file.
- Anchor to filenamefilename•String!non-null
The video's filename.
- Anchor to fileStatusfile•
Status FileStatus! non-null The status of the file.
- •ID!non-null
A globally-unique ID.
- Anchor to mediaContentTypemedia•
Content Type MediaContent non-nullType! The media content type.
- Anchor to mediaErrorsmedia•
Errors [MediaError!]! non-null Any errors which have occurred on the media.
- Anchor to mediaWarningsmedia•
Warnings [MediaWarning!]! non-null The warnings attached to the media.
- Anchor to originalSourceoriginal•
Source The video's original source. This value is
null
unless the video's status field is READY.- Anchor to previewpreview•
The preview image for the media.
- Anchor to sourcessources•[Video
Source!]! non-null The video's sources. This value is empty unless the video's status field is READY.
- Anchor to statusstatus•Media
Status! non-null Current status of the media.
- Anchor to updatedAtupdated•
At DateTime! non-null The date and time (ISO 8601 format) when the file was last updated.