Videos load in editor but not in live page

Hello,

I am pretty new to HubSpot and am working on cleaning up a few things on our website.

I found a page with a blank banner. It is supposed to be displaying a video background. The video displays in the editor but only after I click on the module and it displays options. On the live page, the video does not display at all.

I am getting no errors in the developer console. I thought maybe the jquery includes were somehow different between the live page and editor. Here is the code for the module:

<script src=“https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js”></script>
<div class="hero-banner-video color-white {{ module.padding_size }}

{% if module.with_overlay %}with-overlay{% endif %}" data-vide-bg="mp4:

{{ module.mp4_url }}, webm: {{ module.webm_url }}, ogv: {{ module.ogv_url }}, poster:

{{ module.background_image_for_fallback.src }}" data-vide-options=“posterType: jpg, loop: true, muted: true, position: 0% 0%” style=“height:100%”>
<div class=“page-center {{ module.text_alignment }}”>
<h1>{{ module.header_text }}</h1>
<h4>{{ module.hero_banner_sub_header_text }}</h4>
<div class=“margin-top-20”>{{ module.description }}</div>
<div class=“margin-top-20”>
{{ module.banner_ctas }}
</div>
</div>
</div>

The webpage in question is The Alaska Club Group Cycle Fitness Classes

Its seems like there is some quirk going on with HubSpot and not the code itself. Any ideas are appreciated :slightly_smiling_face:

Thanks!

Banner on live site

Banner in editor after clicking it

Hi @PMarshTAC,

I did look into your example page and see that there is an element with a full background color that is hiding your video. If you disable it, the video will show.

So check your html element with the class span12 widget-span widget-type-custom_widget and try fix this issue.

I also included a screenshot:

Ahhh. That background style was applied in the template which I had overlooked, just looking at the module.

Removed that from the inline styling box and now it is working. Thanks Indra!