GitHub

ShopifyVideo

interface

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

Represents a Shopify hosted video.

interface ShopifyVideo {
  __typename: "Video"
  alt: string
  id: string
  mediaContentType: ShopifyMediaContentType
  presentation: ShopifyMediaPresentation
  previewImage: ShopifyImage
  sources: ShopifyVideoSource[]
}

Properties

__typename
"Video"
alt
string

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

id
string

A globally-unique ID.

mediaContentType
ShopifyMediaContentType

The media content type.

presentation
ShopifyMediaPresentation

The presentation for a media.

previewImage
ShopifyImage

The preview image for the media.

sources
ShopifyVideoSource[]

The sources for a video.