Fix project header videos

This commit is contained in:
2017-02-06 12:07:05 +01:00
parent 3ef0bf6761
commit ae38bec218
2 changed files with 8 additions and 22 deletions

View File

@@ -130,17 +130,11 @@
#comments-list-items-loading
i.pi-spin
| {% if node.video_sources %}
script(type="text/javascript").
{% if node.video_sources %}
videojs(document.getElementById('videoplayer'), { fluid: true });
| {% endif %}
{% endif %}
include ../../_scripts
| {% endblock %}
| {% block footer_scripts %}
script(type="text/javascript").
$(function(){
// Generate GA pageview
ga('send', 'pageview', location.pathname);
@@ -157,4 +151,6 @@ script(type="text/javascript").
{% endif %}
});
include ../../_scripts
| {% endblock %}