Assign dynamic ID to DIV

Thanks Sam.

I’ve actually just managed to solve the unique ID DIV issue. I simply nested another DIV inside the embed element which then gave me the functionality to add in a dynamic field onto the div tag :sunglasses: which seems to be working.

Cheers for the jQuery tip, I’m not very familiar with jquery / javascript so good to know that is a potential solution for my remaining issue (inserting the media list), assuming the jquery can insert data within another script tag?

I guess my only concern with this is speed optimisation. With this solution is sounds like the loading process will look something like:

  • Load CMS data
  • Run jQuery which inserts media values into Cloudinary script
  • Run Cloudinary script

Might not be a big issue though…I’m not an expert in speed optimisation but know that scripting can be factor so am a little wary. But sounds like a very promising workaround (thank you so much!) unless anyone knows of a better way?