Commit 5235fa22 authored by Patrick's avatar Patrick

Responsive video iframe from youtube and vimeo

parent 58722fde
......@@ -101,6 +101,12 @@
{% render_block "jsuncompressed" %}
{% render_block "js" %}
<script src="{{ STATIC_URL}}fluidvids/fluidvids.js"></script>
<script>
fluidvids.init({
selector: ['iframe'],
players: ['www.youtube.com', 'player.vimeo.com']
});
</script>
{% render_block "lastjs" %}
</body>
</html>
\ No newline at end of file
......@@ -115,6 +115,12 @@
{% render_block "jsuncompressed" %}
{% render_block "js" %}
<script src="{{ STATIC_URL}}fluidvids/fluidvids.js"></script>
<script>
fluidvids.init({
selector: ['iframe'],
players: ['www.youtube.com', 'player.vimeo.com']
});
</script>
{% render_block "lastjs" %}
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment