Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I created a Page Template for Music Artist Bios that include a Music Video from YouTube for each Band. I would like to add the Artist or Band URL in a metadata field and populate each Bio page dynamically. There will be a lot of Bios and therefore videos so I need to use YouTube. I do not see any way to do this dynamically.
Solved! Go to the solution
This is an accepted solution.
Shadab, you certainly pushed me in the right direction that landed me on the exact solution that I was looking for here:
https://ed.codes/blog/easy-responsive-video-embed-in-shopify-themes.
Thank you for your assistance! Enjoy your coffee 😉
You can do this with metaobjects. So create a metaobject with all the fields like video, artist name, etc. Add your entries(artist) through that metaobject. And create a page metafield and assign this metaobject field to the metafield.
Check out this video, i believe this explains exactly what you need.
https://youtu.be/QodbszNa7cI?si=0VT9nhMg1tTIXL64
Please reach out via mail in case you need help for a convenient conversation and solution.
Thanks
Shadab
This was super helpful in many other ways, it caused me to rethink the design of my whole Shopify site with the Bios. I haven't been able to quite figure out how to accomplish what I am trying to do with this method yet. I created a metaobject template and am populating that with the dynamic metadata fields that I've created, works perfectly. What I am trying to do now is add a Section for the YouTube video to the template and populate from the metaobject template. Still playing around with this and referring back to the video you provided.
Yeah, the guy explained the concept of metaobjects pretty well and in your case it matched pretty I mean you were trying to achieve almost exactly to what this guy took as an example to explain the concept.
Anyways glad it was helpful.
This is an accepted solution.
Shadab, you certainly pushed me in the right direction that landed me on the exact solution that I was looking for here:
https://ed.codes/blog/easy-responsive-video-embed-in-shopify-themes.
Thank you for your assistance! Enjoy your coffee 😉
Great that it worked out for you exactly as you wanted. It would be great if you also pasted the link I gave you it would be a help for people coming after this.
And thank you for the tip. Appreciate it.
If you need any further assistance with theme customizations or custom coding stuffs you have my mail and WhatsApp links in the signature down below.
Until then, thanks again for the tip. Good luck on your store and your business
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025