file to edit MFP content - iframe HTML5 video

1 reply · opened Jan 19, 2021

SsdIGNJan 19, 2021

Hello!

Instead of using Youtube or Vimeo, I am hosting my video file on my server. It displays fine but I would like to add the attribute muted but I don't know which file to edit.

See attached screenshot when I inspect the iframe popup.

Thanks!

SSemicolon WebSTAFFJan 19, 2021

Hello,

IFrame Lightboxes will not support any Custom Attributes. Consider using the Inline Lightbox instead. Example:
[ch_pre]HTML5 Video Modal

<!-- Modal -->
<div class="modal1 mfp-hide" id="html5-video-modal">
<div class="d-block mx-auto" style="max-width: 700px;">
<video poster="images/videos/explore-poster.jpg" preload="auto" muted autoplay loop class="d-block w-100">
<source src='images/videos/explore.webm' type='video/webm' />
<source src='images/videos/explore.mp4' type='video/mp4' />
</video>
</div>
</div>[/ch_pre]

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard