Minor carousel fixes.
[wolnelektury.git] / src / social / templates / social / embed_video.html
index 34f2e06..fe3400d 100644 (file)
@@ -1,5 +1,5 @@
 {% if youtube_id %}
-<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;"
+<iframe style="position: absolute; left:0;right:0;height:100%;width:100%; background-image:url('https://img.youtube.com/vi/{{ youtube_id }}/maxresdefault.jpg'); background-position: 50%; background-size: 100% auto; background-repeat:no-repeat;"
        type="text/html" width="100%" height="360"
        data-src="https://www.youtube.com/embed/{{ youtube_id }}"
        frameborder="0"></iframe>