--- title: 'Liquid objects: external_video' description: Information about an external video from YouTube or Vimeo. api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/objects/external_video' md: 'https://shopify.dev/docs/api/liquid/objects/external_video.md' --- # external\_​video Information about an external video from YouTube or Vimeo. *** Tip Use the [`external_video_tag` filter](https://shopify.dev/docs/api/liquid/filters/external_video_tag) to output the video in an HTML ` ``` * position [number](https://shopify.dev/docs/api/liquid/basics#number) * The position of the external video in the [`product.media`](https://shopify.dev/docs/api/liquid/objects/product#product-media) array. * preview\_​image [image](https://shopify.dev/docs/api/liquid/objects/image) * A preview image of the media. Note Preview images don't have an ID attribute. ```json { "alt": "Potion beats", "aspect_ratio": "1.77", "external_id": "vj01PAffOac", "host": "youtube", "id": 22015756402753, "media_type": "external_video", "position": 1, "preview_image": {} } ``` ##### Example ``` { "alt": "Potion beats", "aspect_ratio": "1.77", "external_id": "vj01PAffOac", "host": "youtube", "id": 22015756402753, "media_type": "external_video", "position": 1, "preview_image": {} } ```