Task 6 - Add video markup
This commit is contained in:
parent
b97482c642
commit
033276f85a
5
templates/includes/home/video.html.twig
Normal file
5
templates/includes/home/video.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div>
|
||||
<video poster="https://www.fldrupal.camp/sites/all/themes/fldc17/images/video-poster.jpg" preload="auto">
|
||||
<source src="https://www.fldrupal.camp/sites/default/files/FLDC17%20Promo-high.mp4" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
|
@ -1,5 +1,7 @@
|
|||
{% extends 'page.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'includes/home/video.html.twig' %}
|
||||
|
||||
{% include 'includes/home/intro-text.html.twig' %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue