Add AppBundle and the YouTube and Vimeo Twig functions

This commit is contained in:
Oliver Davies 2016-03-28 19:11:12 +01:00
parent 2f7d9de95b
commit 3cb4e74448
11 changed files with 134 additions and 5 deletions

View file

@ -14,5 +14,5 @@ tags:
- unified-diff
---
{% block video %}
<iframe src="https://player.vimeo.com/video/49827006?title=0&portrait=0" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
{{ vimeo('49827006')|raw }}
{% endblock %}

View file

@ -22,7 +22,7 @@ tweets: yes
{% endblock %}
{% block video %}
<iframe width="560" height="315" src="https://www.youtube.com/embed/T-miCpHxfds" frameborder="0" allowfullscreen></iframe>
{{ youtube('T-miCpHxfds')|raw }}
{% endblock %}
{% block feedback %}

View file

@ -27,7 +27,7 @@ I categorised the technical changes into groups for site builders, developers an
{% endblock %}
{% block video %}
<iframe width="560" height="315" src="https://www.youtube.com/embed/36zCxPrOOzM" frameborder="0" allowfullscreen></iframe>
{{ youtube('36zCxPrOOzM')|raw }}
{% endblock %}
{% block feedback %}

View file

@ -28,7 +28,7 @@ You can [view the full slides](/slides/phpsw/building-static-websites-with-sculp
{% endblock %}
{% block video %}
<iframe width="560" height="315" src="https://www.youtube.com/embed/aN53arCKZAU" frameborder="0" allowfullscreen></iframe>
{{ youtube('aN53arCKZAU')|raw }}
{% endblock %}
{% block feedback %}