---
title: "Video"
description: "Represents a Shopline hosted video."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/video'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/video.md'
---
# Video

Represents a Shopline hosted video.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`Video`

## Fields

* `alt`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  A word or phrase to share the nature or contents of a media.

* `id`

  [ID!](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  A globally-unique ID.

* `mediaContentType`

  [MediaContentType!](https://developer.shopline.com/docs/storefront-api/common-objects/enums/media-content-type.md)

  The media content type.

* `previewImage`

  [Image](https://developer.shopline.com/docs/storefront-api/common-objects/objects/image.md)

  The preview image for the media.

* `sources`

  [[VideoSource!]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/video-source.md)

  The sources for a video.

## Schema Definition

```graphql
type Video { 
	alt: String
	id: ID!
	mediaContentType: MediaContentType!
	previewImage: Image
	sources: [VideoSource!] 
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

