# Default Video Module Parameters

**URL:** <https://community.hubspot.com/t/default-video-module-parameters/78811>\
**Category:** CMS Development\
**Created:** [April 5, 2023, 8:22pm UTC](https://community.hubspot.com/t/default-video-module-parameters/78811 "2023-04-05T20:22:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![imxande](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@imxande](https://community.hubspot.com/u/imxande)\
**Post date:** [April 5, 2023, 8:22pm UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/1 "2023-04-05T20:22:54Z")

</div>

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:

> **[Default web modules - HubSpot docs](https://developers.hubspot.com/docs/cms/reference/modules/default-modules)**
>
> Learn about the default modules that HubSpot provides for creating website page, blog post, and blog listing templates. These modules are separate from default email modules, which are for email templates.

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](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.

 ![imxande_0-1680726077530.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/3/e39d39e9b9c0827d7f4e73f60c90fafd7e62569b.png)

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [April 6, 2023, 6:48am UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/2 "2023-04-06T06:48:36Z")

</div>

Hi @imxande,

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:

```lia-code-sample
{% dnd_module 
 "video" 
 path="@hubspot/video"
 video_type="embed"
 embed_field="https://youtu.be/5DE8wCpJ018"
%}

```

---

<div class="post-metadata">

**Author:** ![imxande](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@imxande](https://community.hubspot.com/u/imxande)\
**Post date:** [April 6, 2023, 1:38pm UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/3 "2023-04-06T13:38:43Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![lolcabanon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lolcabanon/32/85184_2.png) [@lolcabanon](https://community.hubspot.com/u/lolcabanon)\
**Post date:** [October 24, 2023, 3:53pm UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/4 "2023-10-24T15:53:12Z")

</div>

Hey @imxande !

Could you paste your working code here for me? I can’t figure this out… Here’s my code :

`{% dnd_module "video"path="@hubspot/video",offset=0,width=6,video_type="embed",embed_field="https://youtu.be/blablabla" %}{% end_dnd_module %}`

It is not showing the default value when I create a page from my template.

I also tried multiple variations, which are not working :

`{% dnd_module "video"path="@hubspot/video",offset=0,width=6,video_type="embed",embed_field={ video: "https://youtu.be/blablabla"} %}{% end_dnd_module %}`

`{% dnd_module "video"path="@hubspot/video",offset=0,width=6,video_type="embed",embed_field="oembed",video="https://youtu.be/blablabla" %}{% end_dnd_module %}`

Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [October 27, 2023, 6:38am UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/5 "2023-10-27T06:38:11Z")

</div>

Hi @lolcabanon,

Do you use the [HubSpot Developers Chrome extention](https://chrome.google.com/webstore/detail/hubspot-developer-extensi/gebemkdecnlgbcanplbgdpcffpdnfdfo)?

When creating templates it’s easy to create templates.

If you don’t know how to use it, on the [YouTube channel HubSpot Developers](https://www.youtube.com/watch?v=51gH2faFmfA&ab_channel=HubSpotDevelopers) there is a video tutorial about ‘[How to Enable Developer Mode in HubSpot’s CMS Hub Page editor](https://www.youtube.com/watch?v=51gH2faFmfA&ab_channel=HubSpotDevelopers)’.

HubSpot also provides [documentation](https://developers.hubspot.com/docs/cms/building-blocks/templates/drag-and-drop-areas/sections#copy-section-hubl) about it how to copy hubl sections code.

---

<div class="post-metadata">

**Author:** ![GooseMan](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@GooseMan](https://community.hubspot.com/u/GooseMan)\
**Post date:** [October 26, 2023, 6:02pm UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/6 "2023-10-26T18:02:47Z")

</div>

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.

Thanks for your time

---

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [October 27, 2023, 6:32am UTC](https://community.hubspot.com/t/default-video-module-parameters/78811/7 "2023-10-27T06:32:50Z")

</div>

Hi @GooseMan,

You can combine the documentation for it and also use some logic using the designer tools when copy a module into a custom module.

You can check out [dnd\_modules](https://developers.hubspot.com/docs/cms/hubl/tags/dnd-areas#dnd-module) documentation to begin with.

Also [passing fields that have dnd associated parameters](https://developers.hubspot.com/docs/cms/building-blocks/modules/using-modules-in-templates#passing-fields-that-have-dnd-associated-parameters) can help.
