This commit is contained in:
pluja 2020-10-07 17:04:48 +02:00
parent ed055be0b5
commit c279367508

View File

@ -101,8 +101,10 @@
<script src="{{ url_for('static',filename='video.min.js') }}"></script>
<script src="{{ url_for('static',filename='videojs-http-streaming.min.js')}}"></script>
<script>
var player = videojs('live');
player.play();
</script>
{% if video.isLive %}
<script>
var player = videojs('live');
player.play();
</script>
{% endif %}
{% endblock %}