YouTube Dynamic Field in Dawn Theme Template

Solved

YouTube Dynamic Field in Dawn Theme Template

jvanzile
Tourist
9 2 1

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.

Accepted Solution (1)
jvanzile
Tourist
9 2 1

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 😉

View solution in original post

Replies 5 (5)

Shadab_dev
Shopify Partner
1320 66 148

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

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
jvanzile
Tourist
9 2 1

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.

Shadab_dev
Shopify Partner
1320 66 148

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.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
jvanzile
Tourist
9 2 1

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 😉

Shadab_dev
Shopify Partner
1320 66 148

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 

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.