Not much on the forum relating to this, I know you can insert double curly’s or just use the inspector to add data to most elements, but what I’m trying to do is add a dynamic property on a youtube video embed iframe snippet, e.g. the video ID - so then I could switch out which video is displaying based on the id in the dB.
I’ve tried the curly brackets within the iFrame on the YouTube video embed url, and I’ve tested the same curly brackets as a basic paragraph element - it displays the right data but it doesn’t appear to work with a video within an iFrame.
This is what I’ve tried:
<iframe width="100%" height="315" src="https://www.youtube.com/embed/{{get_pitch_page_data.data.load_pitch_data[0].video_youtube_id}}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Community Page
Last updated:
Last updated: