Hi fam, I have a simple question but for some reason I am not able to get this right. So, I have created dnd section that has a dnd module as it’s child. I am trying to get the hubspot default video module to have a embed URL that has its emebed url parameter by default, but I am unable to get the video url field populated already. I went ahead to the default module page:
in order to see what parameters the default video take, and I think that I need to pass the embed_field parameter in order to get the url link in the field but I can’t get it to work. I have tried something like this but no luck:
{# Info Section #}
{% dnd_section
vertical_alignment=‘MIDDLE’
%}
{% dnd_module
path=“@hubspot/video”, embed_field= “https://youtu.be/5DE8wCpJ018” %}
{% end_dnd_module %}
{% end_dnd_section %}
Maybe the embed_field needs to be an object and have an oembed_url property that equals the source. But I am confused about how I can add that. I wonder if we have a doc page about adding parameters to default video modules.
I see inside your code there is a space between embed_field= and your first double quote. Try to remove it.
Also try adding all aditional information like following:
Hey thank you so much for the solution. I actually added more properties to the embed_field as you pointed out and it works, the video URL shows as soon as I create the template. YOU ROCK FRIEND!!!
Where do you even search for these stuff, there’s no place that I’ve found that I can see a clear description as to how to usea a dnd_module, like I’m constantly trying to figure out what to do since the docs seems so vague.
What am I missing? and how did you manage to do this, since I can’t replicate it.