Skip to main content

video_source

Information about the source files for a video.

Properties

Anchor to
format
string from a set of values

The format of the video source file.

Note

When mp4 videos are uploaded, Shopify generates an m3u8 file as an additional video source. An m3u8 file enables video players to leverage HTTP live streaming (HLS), resulting in an optimized video experience based on the user's internet connection.

Possible values
mov
mp4
m3u8

The height of the video source file.

The MIME type of the video source file.

The CDN URL of the video source file.

The width of the video source file.

{
"format": "mp4",
"height": 1080,
"mime_type": "video/mp4",
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/videos/c/vp/4edc28a708b7405093a927cebe794f1a/4edc28a708b7405093a927cebe794f1a.HD-1080p-7.2Mbps.mp4?v=0",
"width": 1920
}
Was this section helpful?