Information about a video uploaded as product media or a file_reference metafield.
Tip
Use the video_tag filter to output the video in an HTML <video> tag.
Tip:
Use the video_tag filter to output the video in an HTML <video> tag.
Tip: Use the <a href="/docs/api/liquid/filters/video_tag"><code><span class="PreventFireFoxApplyingGapToWBR">video<wbr/>_tag</span></code> filter</a> to output the video in an HTML <code><video></code> tag.
Properties
The position of the video in the
product.mediaarray.- sourcessourcesarray of video_source
The source files for the video.
Anchor to
{
"alt": "Potion beats",
"aspect_ratio": 1.779,
"duration": 34801,
"id": 22070396551233,
"media_type": "video",
"position": 2,
"preview_image": {},
"sources": []
}
Example
{
"alt": "Potion beats",
"aspect_ratio": 1.779,
"duration": 34801,
"id": 22070396551233,
"media_type": "video",
"position": 2,
"preview_image": {},
"sources": []
}Was this section helpful?
