stack

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

AdminTypes.VideoSource interface

Represents a source for a Shopify hosted video.

Types of sources include the original video, lower resolution versions of the original video, and an m3u8 playlist file.

Only [videos](https://shopify.dev/api/admin-graphql/latest/objects/video) with a status field of [READY](https://shopify.dev/api/admin-graphql/latest/enums/MediaStatus#value-ready) have sources.

Signature:

export interface VideoSource 

Properties

Property Modifiers Type Description
fileSize?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The video source’s file size in bytes.
format   Scalars[‘String’][‘output’] The video source’s file format extension.
height   Scalars[‘Int’][‘output’] The video source’s height.
mimeType   Scalars[‘String’][‘output’] The video source’s MIME type.
url   Scalars[‘String’][‘output’] The video source’s URL.
width   Scalars[‘Int’][‘output’] The video source’s width.