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='video.min.js') }}"></script>
<script src="{{ url_for('static',filename='videojs-http-streaming.min.js')}}"></script> <script src="{{ url_for('static',filename='videojs-http-streaming.min.js')}}"></script>
<script> {% if video.isLive %}
var player = videojs('live'); <script>
player.play(); var player = videojs('live');
</script> player.play();
</script>
{% endif %}
{% endblock %} {% endblock %}