Migration general theme: fix video player method in javascript
This commit is contained in:
parent
b9a3082e7c
commit
97f00efa8a
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
{% if time_start != 0 %}
|
{% if time_start != 0 %}
|
||||||
<script>
|
<script>
|
||||||
document.querySelector('js-video-player').currentTime = {{ time_start|tojson }};
|
document.getElementById('js-video-player').currentTime = {{ time_start|tojson }};
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user