Allow non-gated video embed in builders

My idea is: it should be possible to have both gated and un-gated videos embedded via the builder

I think these groups of people would benefit from this idea: Marketers who are tracking but not gating their video content

Why I think they would benefit from this idea: Sometimes you may not want to gate the video. At present you would have to manually embed the video which is not a great user experience when building the landing page or email.

Ideally we should either have an option in the existing video slot to say whether it should be either not tracked at all, tracked, or gated. Then the relevant options are offered. Alternatively, a separate slot type which allows tracked but not gated video.

Any code or resources to support this idea: Originally raised on Github here: https://github.com/mautic/mautic/issues/4031

Are you willing to work on this idea?: N/A just raising issue here for visibility

What skills and resources do you need to explore this further? Development/UX

A post was split to a new topic: Problems with forums

any update on non-gated videos?

You can add video to a page, even non-gated one.

<video width="640" height="360" data-mautic-video="true">
    <source type="video/mp4" src="https://example.tld/video.mp4" />
</video>

Or The Mautic WP plugin does it by using this code:

[mautic type="video" data-mautic-video="true" src="https://www.youtube.com/watch?v=QT6169rdMdk" width="640" height="320"]

But the problem is - you can start automations on this. The video view event is saved, but you can’t filter nor use in a campaign step.

The only benefit is - you can create reports listing the video views.

Joey

I want to add video to a email not a page using the builder

You can’t play a video in an Email, nor you can use iframes.
The nature of email technology doesn’t make it possible to do so.
You could do it with AMP, but Mautic doesn’t support it yet.

Common solution is, that you can add a thumbnail of the video as an image and by clicking on the image you’d play the video on a landing page.

Joey

2 Likes

thanks a lot @joeyk
you are always there to help!

The issue is solved in 2015: Removes iframe restriction from builders allowing Youtube, etc by alanhartless · Pull Request #443 · mautic/mautic · GitHub
And improved in 2016: Enable video attributes in Froala by escopecz · Pull Request #2211 · mautic/mautic · GitHub

Tested now and … it works !

Entered inside a text-slot:

<div class="video-container1">
 <div class="video-container2">
  <iframe class="video" title="Am creeat un email cu conţinut dinamic" src="https://www.youtube.com/embed/_1iwXeHjCZc?feature=oembed" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> </iframe>
 </div>
</div>

that get´s modified to:

<div class="video-container1">
 <div class="video-container2">
  <span class="fr-gatedvideo fr-dvi fr-draggable" contenteditable="false" style="">
   <iframe class="video" title="Am creeat un email cu conţinut dinamic" src="https://www.youtube.com/embed/_1iwXeHjCZc?feature=oembed" allowfullscreen=""> </iframe>
  </span>
 </div>
</div>

And the video is visible on the landing page (not in the editor (legacy editor) ).