Carousel fixes.
[wolnelektury.git] / src / social / templates / social / embed_video.html
1 {% if youtube_id %}
2 <iframe style="position: absolute; left:0;right:0;height:100%;width:100%; background-image:url('https://img.youtube.com/vi/{{ youtube_id }}/0.jpg'); background-position: 50%; background-size: cover;"
3         type="text/html" width="100%" height="360"
4         data-src="https://www.youtube.com/embed/{{ youtube_id }}"
5         frameborder="0"></iframe>
6 {% endif %}