Version to run on serve #1
@@ -12,9 +12,7 @@ $(function() {
|
||||
if (is_playing) {
|
||||
player.pause();
|
||||
} else {
|
||||
window.setTimeout(function() {
|
||||
player.play();
|
||||
}, 250);
|
||||
player.play();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% load i18n thumbnail util_tags %}
|
||||
|
||||
<div class="video reveal_container">
|
||||
<iframe class="video__frame" src="https://player.vimeo.com/video/{{ instance.vimeo_id }}?dnt=1" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
<iframe class="video__frame" src="https://player.vimeo.com/video/{{ instance.vimeo_id }}?dnt=1" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="autoplay"></iframe>
|
||||
<a href="#" class="video__thumbnail reveal reveal_animation">
|
||||
<span class="video__play">
|
||||
{% include 'project/assets/play.svg' %}
|
||||
|
||||
Reference in New Issue
Block a user