<?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: Change Video play icon on Custom Module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/677126#M29929</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the pointer. I see that the video is played in a pop-up on all the examples, and they are played automatically. Perhaps we will try something similar on our project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 08:26:35 GMT</pubDate>
    <dc:creator>sariyanta</dc:creator>
    <dc:date>2022-08-08T08:26:35Z</dc:date>
    <item>
      <title>Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674184#M29848</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still new here, please go easy on me :).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a custom module which has a video field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, I cannot find a way to change the play icon in the video. Is there a way to override this button?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried doing it via css but it didn't work. Using javascript also didn't work because of the CORS issue since the iframe domain is different than the page itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the icon that I wanted to change:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Original Play Icon" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71880iCA2F887471B18B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-08-02 at 15.16.52.png" alt="Original Play Icon" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Original Play Icon&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I'm aiming at:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custom Play Icon" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71881i6AD02D1E563C0787/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-08-02 at 15.18.55.png" alt="Custom Play Icon" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Custom Play Icon&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advanced.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sariyanta&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:22:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674184#M29848</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-02T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674575#M29860</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community! Let's see if we can get the conversation started — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;&amp;nbsp;have you managed to edit the “play” button in a video module? Or a similar type of customization?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 23:30:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674575#M29860</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-08-02T23:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674580#M29861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;,&amp;nbsp;happy to help, we're all learning here! Yes, it is possible, I wouldn't be able to help point you in the right direction without seeing how the module is coded. I don't have as much experience building the modules as I do modifying them.&amp;nbsp; I bet&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;will have a much quicker answer for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 23:54:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674580#M29861</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-08-02T23:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674735#M29867</link>
      <description>&lt;P&gt;Thank you! I hope&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;could give me some pointers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:30:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674735#M29867</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-03T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674736#M29868</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;! I hope they can share their solution on the play button in the video module &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 09:31:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674736#M29868</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-03T09:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674994#M29873</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;, I'm not sure if it's possible to change the styles of the play button if it comes from an iframe. You would need to change it on the original url, but if it's a third party service I don't think you will be able to do it (unless they offer customization options).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing you could do is to create an image with your desired play button that on click will open your video in a modal element, something like &lt;A href="https://www.avast.com/about" target="_blank" rel="noopener"&gt;this&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 16:06:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/674994#M29873</guid>
      <dc:creator>albertsg</dc:creator>
      <dc:date>2022-08-03T16:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675028#M29874</link>
      <description>&lt;P&gt;Brilliant idea,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/92197"&gt;@albertsg&lt;/a&gt;&amp;nbsp;I didn't think of creating a custom thumbnail image &lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 17:05:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675028#M29874</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-08-03T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675385#M29879</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to use a native HubSpot video field, as&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/92197"&gt;@albertsg&lt;/a&gt;&amp;nbsp;said this looks like it's not possible since it's an iframe and you don't have access to the css/js files of that page.&lt;BR /&gt;&lt;BR /&gt;I second the method of having a custom image + play button (could be added on top as CSS even, not necessarily included in the thumbnail this way you can add a :hover state to your button).&lt;BR /&gt;&lt;BR /&gt;However, I've found out that the HubSpot video player makes the page load way slower, and in an effort to optimize the page speed, I've used this &lt;A href="https://www.labnol.org/internet/light-youtube-embeds/27941/" target="_blank" rel="noopener"&gt;lightweight youtube embed plugin&lt;/A&gt;.&lt;BR /&gt;You can find the demonstration codepen &lt;A href="https://codepen.io/labnol/pen/vYXYrOW" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works wonders, is very light to set up, customize and youtube analytics will give you plenty of free playback insights.&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;/P&gt;
&lt;P&gt;Ludwig&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 06:57:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675385#M29879</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-08-04T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675387#M29880</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/92197"&gt;@albertsg&lt;/a&gt;, thank you for the pointer.&amp;nbsp;&lt;BR /&gt;This iframe is generated by the HubSpot's own video module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought there would be a way to modify it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I check the code for the video module on&amp;nbsp;@hubspot/video.module, I see a hardcoded svg:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; {% if module.oembed_thumbnail.src %}
          &amp;lt;button class="oembed_custom-thumbnail" style="background-image:url({{module.oembed_thumbnail.src}})"&amp;gt;
            &amp;lt;span class="oembed-info"&amp;gt;Video player - {{ module.oembed_thumbnail.alt }} - Click to play video&amp;lt;/span&amp;gt;
            &amp;lt;div class="oembed_custom-thumbnail_icon"&amp;gt;
              &amp;lt;svg viewBox="0 0 135.39 149.4"&amp;gt;&amp;lt;path d="M371.2,398.69l-127.79,71c-1.47.83-2.74.93-3.8.28a3.69,3.69,0,0,1-1.59-3.46V324.88a3.73,3.73,0,0,1,1.59-3.47,3.66,3.66,0,0,1,3.8.29l127.79,71c1.47.84,2.21,1.82,2.21,3S372.67,397.85,371.2,398.69Z" transform="translate(-238.02 -321)"&amp;gt;&amp;lt;/path&amp;gt;&amp;lt;/svg&amp;gt;
            &amp;lt;/div&amp;gt;
          &amp;lt;/button&amp;gt;
        {% endif %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering how to override this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sariyanta&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 06:59:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675387#M29880</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-04T06:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675447#M29881</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;, another idea that just came to my mind (I didn't test this) is to clone the @hubspot/video module and create your own video module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your new cloned module should behave the same way as the original one but you will be able to edit all the properties in HTML, CSS and JS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give it a try, it might work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 08:34:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/675447#M29881</guid>
      <dc:creator>albertsg</dc:creator>
      <dc:date>2022-08-04T08:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/676146#M29914</link>
      <description>&lt;P&gt;I will try this and report back here if it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My only concern with this is that when creating custom module that has video field in it, I couldn't use it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But let's see.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 08:58:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/676146#M29914</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-05T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/676213#M29916</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;&amp;nbsp;I didn't realize you were referring to the HubSpot standard module previously. Here's an &lt;A href="https://maka-agency-4740449.hs-sites.com/power-theme-feature-video" target="_blank" rel="noopener"&gt;example of a custom video module&lt;/A&gt; styled with different layouts and buttons.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 11:18:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/676213#M29916</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-08-05T11:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/677126#M29929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the pointer. I see that the video is played in a pop-up on all the examples, and they are played automatically. Perhaps we will try something similar on our project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 08:26:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/677126#M29929</guid>
      <dc:creator>sariyanta</dc:creator>
      <dc:date>2022-08-08T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Video play icon on Custom Module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/677180#M29930</link>
      <description>&lt;P&gt;Apologies&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/252450"&gt;@sariyanta&lt;/a&gt;&amp;nbsp;- I was out of the office!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As others have said, I don't think you can edit HubSpot's own video module. In the past, when I've created a custom video module I've used a custom module with a "File" field to select the video.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I add in the button using HTML, absolute position it in the center of the video using CSS and use JavaScript so that clicking on it will hide the button/play the video.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Stephanie O'Gay Garcia&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A style="cursor: pointer; text-decoration: none; color: #000000;" href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Website&lt;/A&gt; | &lt;A href="http://www.stephanieogaygarcia.com/contact?utm_source=HubSpotCommunity" target="_blank"&gt;Contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 11:20:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Change-Video-play-icon-on-Custom-Module/m-p/677180#M29930</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2022-08-08T11:20:09Z</dc:date>
    </item>
  </channel>
</rss>

