---
title: "VideoSource"
description: "Represents a source for 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-source'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/video-source.md'
---
# VideoSource

Represents a source for a Shopline hosted video.

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

## Type Signature

`VideoSource`

## Fields

* `format`

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

  The format of the video source.

* `height`

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

  The height of the video.

* `url`

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

  The URL of the video.

* `width`

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

  The width of the video.

## Schema Definition

```graphql
type VideoSource { 
	format: String!
	height: Int!
	url: String!
	width: Int! 
}
```

## Field from

* [Video](https://developer.shopline.com/docs/storefront-api/common-objects/objects/video.md).sources

  The sources for a video.

## 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).

