Skip to main content

Updated Admin GraphQL/Storefront ExternalVideo URL fields

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 of originUrl. Like embeddedUrl, 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.

Was this section helpful?