<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Default Video Module Parameters in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870918#M36470</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/654220"&gt;@GooseMan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can combine the documentation for it and also use some logic using the designer tools when copy a module into a custom module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check out &lt;A href="https://developers.hubspot.com/docs/cms/hubl/tags/dnd-areas#dnd-module" target="_blank" rel="noopener"&gt;dnd_modules&lt;/A&gt; documentation to begin with.&lt;/P&gt;
&lt;P&gt;Also&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/using-modules-in-templates#passing-fields-that-have-dnd-associated-parameters" target="_blank" rel="noopener"&gt;passing fields that have dnd associated parameters&lt;/A&gt; can help.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 06:32:50 GMT</pubDate>
    <dc:creator>Indra</dc:creator>
    <dc:date>2023-10-27T06:32:50Z</dc:date>
    <item>
      <title>Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778586#M33659</link>
      <description>&lt;P&gt;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:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/default-modules" target="_blank"&gt;https://developers.hubspot.com/docs/cms/building-blocks/modules/default-modules&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;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:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;{# Info Section #}&lt;BR /&gt;{% dnd_section&lt;BR /&gt;vertical_alignment='MIDDLE'&lt;BR /&gt;%}&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{% dnd_module&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path="@hubspot/video",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;embed_field= "&lt;A href="https://youtu.be/5DE8wCpJ018" target="_blank"&gt;https://youtu.be/5DE8wCpJ018&lt;/A&gt;"&lt;/STRONG&gt; %}&lt;BR /&gt;&amp;nbsp; {% end_dnd_module %}&lt;BR /&gt;{% end_dnd_section %}&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imxande_0-1680726077530.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88750iDDA82B8E06DCF98A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imxande_0-1680726077530.png" alt="imxande_0-1680726077530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 20:22:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778586#M33659</guid>
      <dc:creator>imxande</dc:creator>
      <dc:date>2023-04-05T20:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778732#M33662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/497612"&gt;@imxande&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see inside your code there is a space between &lt;CODE&gt;embed_field=&lt;/CODE&gt; and your first double quote. Try to remove it.&lt;BR /&gt;&lt;BR /&gt;Also try adding all aditional information like following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% dnd_module 
   "video" 
   path="@hubspot/video"
   video_type="embed"
   embed_field="https://youtu.be/5DE8wCpJ018"
%}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 06:48:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778732#M33662</guid>
      <dc:creator>Indra</dc:creator>
      <dc:date>2023-04-06T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778882#M33667</link>
      <description>&lt;P&gt;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!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:38:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/778882#M33667</guid>
      <dc:creator>imxande</dc:creator>
      <dc:date>2023-04-06T13:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/869301#M36409</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/497612"&gt;@imxande&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you paste your working code here for me? I can't figure this out... Here's my code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% dnd_module "video"&lt;BR /&gt;path="@hubspot/video",&lt;BR /&gt;offset=0,&lt;BR /&gt;width=6,&lt;BR /&gt;video_type="embed",&lt;BR /&gt;embed_field="https://youtu.be/blablabla" %}&lt;BR /&gt;{% end_dnd_module %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;It is not showing the default value when I create a page from my template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried multiple variations, which are not working :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% dnd_module "video"&lt;BR /&gt;path="@hubspot/video",&lt;BR /&gt;offset=0,&lt;BR /&gt;width=6,&lt;BR /&gt;video_type="embed",&lt;BR /&gt;embed_field={&lt;BR /&gt;    video: "https://youtu.be/blablabla"&lt;BR /&gt;} %}&lt;BR /&gt;{% end_dnd_module %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% dnd_module "video"&lt;BR /&gt;path="@hubspot/video",&lt;BR /&gt;offset=0,&lt;BR /&gt;width=6,&lt;BR /&gt;video_type="embed",&lt;BR /&gt;embed_field="oembed",&lt;BR /&gt;video="https://youtu.be/blablabla" %}&lt;BR /&gt;{% end_dnd_module %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 15:53:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/869301#M36409</guid>
      <dc:creator>lolcabanon</dc:creator>
      <dc:date>2023-10-24T15:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870679#M36455</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing? and how did you manage to do this, since I can't replicate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 18:02:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870679#M36455</guid>
      <dc:creator>GooseMan</dc:creator>
      <dc:date>2023-10-26T18:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870918#M36470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/654220"&gt;@GooseMan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can combine the documentation for it and also use some logic using the designer tools when copy a module into a custom module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check out &lt;A href="https://developers.hubspot.com/docs/cms/hubl/tags/dnd-areas#dnd-module" target="_blank" rel="noopener"&gt;dnd_modules&lt;/A&gt; documentation to begin with.&lt;/P&gt;
&lt;P&gt;Also&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/using-modules-in-templates#passing-fields-that-have-dnd-associated-parameters" target="_blank" rel="noopener"&gt;passing fields that have dnd associated parameters&lt;/A&gt; can help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 06:32:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870918#M36470</guid>
      <dc:creator>Indra</dc:creator>
      <dc:date>2023-10-27T06:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Default Video Module Parameters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870920#M36471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/640155"&gt;@lolcabanon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use the &lt;A href="https://chrome.google.com/webstore/detail/hubspot-developer-extensi/gebemkdecnlgbcanplbgdpcffpdnfdfo" target="_blank" rel="noopener"&gt;HubSpot Developers Chrome extention&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;When creating templates it's easy to create templates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't know how to use it, on the &lt;A href="https://www.youtube.com/watch?v=51gH2faFmfA&amp;amp;ab_channel=HubSpotDevelopers" target="_blank" rel="noopener"&gt;YouTube channel HubSpot Developers&lt;/A&gt; there is a video tutorial about '&lt;A href="https://www.youtube.com/watch?v=51gH2faFmfA&amp;amp;ab_channel=HubSpotDevelopers" target="_blank" rel="noopener"&gt;How to Enable Developer Mode in HubSpot's CMS Hub Page editor&lt;/A&gt;'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot also provides &lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/templates/drag-and-drop-areas/sections#copy-section-hubl" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; about it how to copy hubl sections code.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 06:38:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Default-Video-Module-Parameters/m-p/870920#M36471</guid>
      <dc:creator>Indra</dc:creator>
      <dc:date>2023-10-27T06:38:11Z</dc:date>
    </item>
  </channel>
</rss>

