GitHub

ShopifyExternalVideo

interface

import { ShopifyExternalVideo } from '@daffodil/driver/shopify'

Represents a video hosted outside of Shopify.

interface ShopifyExternalVideo {
  __typename: "ExternalVideo"
  alt: string
  embedUrl: Scalars['URL']['output']
  embeddedUrl: Scalars['URL']['output']
  host: ShopifyMediaHost
  id: string
  mediaContentType: ShopifyMediaContentType
  originUrl: Scalars['URL']['output']
  presentation: ShopifyMediaPresentation
  previewImage: ShopifyImage
}

Properties

__typename
"ExternalVideo"
alt
string

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

embedUrl
Scalars['URL']['output']

The embed URL of the video for the respective host.

embeddedUrl
Scalars['URL']['output']

The URL.

host
ShopifyMediaHost

The host of the external video.

id
string

A globally-unique ID.

mediaContentType
ShopifyMediaContentType

The media content type.

originUrl
Scalars['URL']['output']

The origin URL of the video on the respective host.

presentation
ShopifyMediaPresentation

The presentation for a media.

previewImage
ShopifyImage

The preview image for the media.