stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Video

AdminTypes.Video interface

Represents a Shopify hosted video.

Signature:

export interface Video extends File, Media, Node 

Extends: File, Media, Node

Properties

Property Modifiers Type Description
alt?   Maybe<Scalars[‘String’][‘output’]> (Optional) A word or phrase to share the nature or contents of a media.
createdAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.
duration?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The video’s duration in milliseconds. This value is null unless the video’s status field is [READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).
fileErrors   Array<FileError> Any errors that have occurred on the file.
filename   Scalars[‘String’][‘output’] The video’s filename.
fileStatus   FileStatus | `${FileStatus}` The status of the file.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
mediaContentType   MediaContentType | `${MediaContentType}` The media content type.
mediaErrors   Array<MediaError> Any errors which have occurred on the media.
mediaWarnings   Array<MediaWarning> The warnings attached to the media.
originalSource?   Maybe<VideoSource> (Optional) The video’s original source. This value is null unless the video’s status field is [READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).
preview?   Maybe<MediaPreviewImage> (Optional) The preview image for the media.
sources   Array<VideoSource> The video’s sources. This value is empty unless the video’s status field is [READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready).
status   MediaStatus | `${MediaStatus}` Current status of the media.
updatedAt   Scalars[‘DateTime’][‘output’] The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.