---
title: "MediaContentType"
description: "The possible content types for a media object."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/enums/media-content-type'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/enums/media-content-type.md'
---
# MediaContentType

The possible content types for a media object.

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

## Type Signature

`MediaContentType`

## Values

* `EXTERNAL_VIDEO`

  An externally hosted video.

* `IMAGE`

  A Shopline hosted image.

* `VIDEO`

  A Shopline hosted video.

## Schema Definition

```graphql
enum MediaContentType { 
	EXTERNAL_VIDEO 
	IMAGE 
	VIDEO  
}
```

## Field from

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

  媒体内容类型

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

  媒体内容类型

* [MediaImage](https://developer.shopline.com/docs/storefront-api/common-objects/objects/media-image.md).mediaContentType

  媒体内容类型

* [Media](https://developer.shopline.com/docs/storefront-api/common-objects/interfaces/media.md).mediaContentType

  The media content type.

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

