---
title: "VideoSource"
description: >
  Represents a hosted video source of SHOPLINE. A video has a source only if its status field is READY.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/video-source'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/video-source.md'
---
# VideoSource

Represents a hosted video source of SHOPLINE. A video has a source only if its status field is READY.

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

## Type Signature

`VideoSource`

## Fields

* `format`

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

  The file format extension of the video source.

* `height`

  [Int](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/int.md)

  The height of the video source.

* `url`

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

  The URL of the video source.

* `width`

  [Int](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/int.md)

  The width of the video source.

## Schema Definition

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

## Field from

* [Video](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/video.md).originalSource

  The original source of the video. Returns null if the status of the video is not READY.

## Error Handling

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

