---
title: "video"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/object/video'
  md: 'https://developer.shopline.com/docs/sline/object/video.md'
---

# video


    Product video object, supporting the following sources:
      - Product media library
      - File reference metafields

    



    <div>
    
        #### Properties

        
<ObjectProperty 
    name="alt"
    types={[<Mdx>string</Mdx>]}
>
<ObjectSummary>
The alternative textual description of the video, usually a word or phrase with the characteristics or content of the media.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="aspect_ratio"
    types={[<Mdx>string</Mdx>]}
>
<ObjectSummary>
The aspect ratio of the video.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="duration"
    types={[<Mdx>string</Mdx>]}
>
<ObjectSummary>
The duration of the video in seconds.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="id"
    types={[<Mdx>string</Mdx>]}
>
<ObjectSummary>
The unique identifier for the video.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="media_type"
    types={[<Mdx>string</Mdx>]}
>
<ObjectSummary>
The media type. Always returns `VIDEO`.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="position"
    types={[<Mdx>integer</Mdx>]}
>
<ObjectSummary>
The position of the video in the [`product.media`](https://developer.shopline.com/docs/sline/object/product.md) array.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="preview_image"
    types={[<Mdx>[image](https://developer.shopline.com/docs/sline/object/image.md)</Mdx>]}
>
<ObjectSummary>
The URL of the video cover image.


</ObjectSummary>
</ObjectProperty>
        
<ObjectProperty 
    name="sources"
    types={[<Mdx>array of string</Mdx>]}
>
<ObjectSummary>
The source files for the video.


</ObjectSummary>
</ObjectProperty>
        
    
    </div>


