“node”: {
“key”: “video”,
“value”: “gid://shopify/Video/34989581926618”,
“namespace”: “custom”
}
i am building private app in shopify and i wanna show video from metafields in frontend (React js), how can i display video in frontend?
Topic summary
A developer is working with a Shopify private app built using React (frontend) and Node.js (backend). They have successfully stored video data in Shopify metafields with the structure:
Current setup:
- Key: “video”
- Value: “gid://shopify/Video/34989581926618” (Shopify video GID)
- Namespace: “custom”
Challenge:
The developer needs guidance on how to retrieve and display this video on the React frontend. The question centers on extracting the actual video URL from the Shopify GID (Global ID) stored in the metafield to render it in the user interface.
Status: The question remains unanswered with no solutions or suggestions provided yet.