The custom code you did works perfect for iframes.
The code I copied in is the embed version not iframe could the custom code be used to adapt the embed code as that’s more friendly to the end user.
Thanks
Mike
It can't be done through code. But, it seems that it can be done from the user interface.
1. Add an embed block. Check this screenshot hidden link
2. You must enter a Spotify URL to complete the creation of the block, and make it detect Spotify. Check this hidden link
3. Configure the Inline Toolset Dynamic Source to pull the URL from the custom field. hidden link
However, that displays the URL twice after the embed. But, we can handle that later. First, check if that's what you are looking for or not.
I think as you have done it is brilliant as it is.
One more question
How would I put a link to lets say a popup or page and pass the ID of the particular record? that way that popup could have the playlist in it.
Thanks
Mike
Hello Mike, I am glad I could help. Sorry, I don't understand this last question very much. Can you elaborate more? For support rules, we are able to handle only one issue at a time. This helps us to bring you a better service and also helps other users to find all the information here exposed. Can you create a new ticket for you last question and provide more details to let us help.