Information about an external video from YouTube or Vimeo.
Use the external_video_tag filter to output the video in an
HTML <iframe> tag. Use the external_video_url filter to specify parameters
for the external video player.
Use the external_video_tag filter to output the video in an
HTML <iframe> tag. Use the external_video_url filter to specify parameters
for the external video player.
Tip: Use the <a href="/docs/api/liquid/filters/external_video_tag"><code><span class="PreventFireFoxApplyingGapToWBR">external<wbr/>_video<wbr/>_tag</span></code> filter</a> to output the video in an HTML <code><iframe></code> tag. Use the <a href="/docs/api/liquid/filters/external_video_url"><code><span class="PreventFireFoxApplyingGapToWBR">external<wbr/>_video<wbr/>_url</span></code> filter</a> to specify parameters for the external video player.
Properties
The service that hosts the video.
Possible values youtube vimeo The media type of the external video. Always returns
external_video.The position of the external video in the
product.mediaarray.
Example
{
"alt": "Potion beats",
"aspect_ratio": "1.77",
"external_id": "vj01PAffOac",
"host": "youtube",
"id": 22015756402753,
"media_type": "external_video",
"position": 1,
"preview_image": {}
}