---
title: "ExternalVideo"
description: "Represents videos hosted externally to SHOPLINE."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/external-video'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/external-video.md'
---
# ExternalVideo

Represents videos hosted externally to SHOPLINE.

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

## Type Signature

`ExternalVideo`

## Fields

* `alt`

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

  Words or phrases that share the characteristics or content of media.

* `createdAt`

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

  Date and time of file creation (in ISO 8601 format).

* `host`

  [MediaHost!](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/enums/media-host.md)

  The external video's host.

* `id`

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

  Globally unique ID.

* `mediaContentType`

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

  Media content type.

* `originUrl`

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

  The original URL of the video on the corresponding host.

* `preview`

  [MediaPreviewImage](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/media-preview-image.md)

  Preview image for media.

* `updatedAt`

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

  Date and time of the last update to the file (in ISO 8601 format).

## Schema Definition

```graphql
type ExternalVideo { 
	alt: String
	createdAt: Date!
	host: MediaHost!
	id: ID!
	mediaContentType: MediaContentType!
	originUrl: URL!
	preview: MediaPreviewImage
	updatedAt: Date! 
}
```

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

