Skip to content

Commit

Permalink
Fix chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
AymericJak committed Nov 10, 2023
1 parent ec8d234 commit 4adad31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion pod/chapter/templates/video_chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
{% block page_title %}{% trans 'Chapter video' %} "{{video.title}}" {% endblock page_title %}
{% block page_extra_head %}
{% include 'videos/video-header.html' %}
<script src="{% static 'js/chapters.js' %}?ver={{VERSION}}"></script>
<script>
const video_duration = {{ video.duration }};
</script>
Expand Down
3 changes: 2 additions & 1 deletion pod/video/templates/videos/video-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
import '{% static 'js/videojs-vtt-thumbnails.js' %}';
{% endif %}
import '{% static 'js/videojs-logo-controlbar.js' %}';

import '{% static 'js/chapters.js' %}';
import '{% static 'js/videojs-chapters.js' %}';

window.seektime = 10;
window.options = {};
Expand Down

0 comments on commit 4adad31

Please sign in to comment.