Updated Admin GraphQL/Storefront ExternalVideo URL fields
API
Effective January 26, 2022
As part of the 2022-04 API release, we've updated the Admin GraphQL and Storefront APIs to provide clearer URLs for the ExternalVideo
type:
- The
embeddedUrl
field has been deprecated in favor oforiginUrl
. LikeembeddedUrl
,originUrl
returns the URL to the video on its hosted platform (either Vimeo or YouTube). - A new field called
embedUrl
has been added. It returns the URL required to embed the video inside an iframe.
Learn more about the Admin API ExternalVideo
type and the Storefront API ExternalVideo
type on Shopify.dev.