Media Content Type
The possible content types for a media object.
Anchor to Valid valuesValid values
- EXTERNAL_VIDEO
- IMAGE
- MODEL_3D
- VIDEO
- Anchor to EXTERNAL_VIDEOEXTERNAL_
VIDEO An externally hosted video.
- Anchor to IMAGEIMAGE
A Shopify hosted image.
- Anchor to MODEL_3DMODEL_
3D A 3d model.
- Anchor to VIDEOVIDEO
A Shopify hosted video.
Anchor to FieldsFields
- •OBJECT
Represents a video hosted outside of Shopify.
- •INTERFACE
Represents a media interface.
- •OBJECT
An image hosted on Shopify's content delivery network (CDN). Used for product images, brand logos, and other visual content across the storefront.
The
imagefield provides the actual image data with transformation options. Implements theMediainterface alongside other media types likeVideoandModel3d.- •OBJECT
Represents a Shopify hosted 3D model.
- •OBJECT
A video hosted on Shopify's servers. Implements the
Mediainterface and provides multiple video sources through thesourcesfield, each with format, dimensions, and URL information for adaptive playback.For videos hosted on external platforms like YouTube or Vimeo, use
instead.