Anchor to Video
objectVideo
Requires access scope.
A video hosted on Shopify's servers. Implements the Media interface and provides multiple video sources through the sources field, each with format, dimensions, and URL information for adaptive playback.
For videos hosted on external platforms like YouTube or Vimeo, use instead.
Anchor to FieldsFields
- alt (String)
- id (ID!)
- mediaContentType (MediaContentType!)
- presentation (MediaPresentation)
- previewImage (Image)
- sources ([VideoSource!]!)
- •String
A word or phrase to share the nature or contents of a media.
- •ID!non-null
A globally-unique ID.
- Anchor to mediaContentTypemedia•Media
Content Type Content Type! non-null The media content type.
- Anchor to presentationpresentation•Media
Presentation The presentation for a media.
- Anchor to previewImagepreview•Image
Image The preview image for the media.
- Anchor to sourcessources•[Video
Source!]! non-null The sources for a video.
Was this section helpful?