give videos a title in matomo

This commit is contained in:
Set Hallstrom 2020-08-12 10:40:27 +02:00
parent f7c7835895
commit dc1c039ab5

View file

@ -42,7 +42,7 @@
{% include scripts.html %} {% include scripts.html %}
{% if page.video_path %} {% if page.video_path %}
<div class="fullscreen-bg"> <div class="fullscreen-bg">
<video autoplay muted loop poster="{{ page.image }}" class="fullscreen-bg__video"> <video autoplay muted loop poster="{{ page.image }}" class="fullscreen-bg__video" data-matomo-title="{{ page.title }}-bg-video">
<source src="{{ page.video_path }}" type="video/mp4"> <source src="{{ page.video_path }}" type="video/mp4">
</video> </video>
</div> </div>