conditinal video tag
This commit is contained in:
parent
569a500abc
commit
37eb90c429
|
@ -40,11 +40,13 @@
|
|||
{% endunless %}
|
||||
{% include cookie-consent.html %}
|
||||
{% include scripts.html %}
|
||||
{% if page.video_path %}
|
||||
<div class="fullscreen-bg">
|
||||
<video autoplay muted loop poster="{{ page.image }}" class="fullscreen-bg__video">
|
||||
<source src="{{ page.video_path }}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in a new issue