Video.js fixes and improvements after major upgrade (#1413)

This commit is contained in:
Yiannis Christodoulou
2025-10-27 11:53:35 +02:00
committed by GitHub
parent a5e6e7b9ca
commit 2a0cb977f2
30 changed files with 478 additions and 6138 deletions

View File

@@ -5,8 +5,9 @@
{% block headtitle %}Add subtitle - {{PORTAL_NAME}}{% endblock headtitle %}
{% block innercontent %}
{% include "cms/media_nav.html" with active_tab="subtitles" %}
<div class="user-action-form-wrap">
{% include "cms/media_nav.html" with active_tab="subtitles" %}
</div>
{% if whisper_form %}
<div class="user-action-form-wrap">

View File

@@ -5,10 +5,10 @@
{% block headtitle %}Edit video chapters - {{PORTAL_NAME}}{% endblock headtitle %}
{% block topimports %}
<link href="{% static "chapters_editor/chapters-editor.css" %}" rel="preload" as="style">
<link href="{% static "chapters_editor/chapters-editor.css" %}" rel="stylesheet">
<link href="{% static "chapters_editor/chapters-editor.css?v={{ VERSION }}" %}" rel="preload" as="style">
<link href="{% static "chapters_editor/chapters-editor.css?v={{ VERSION }}" %}" rel="stylesheet">
<script src="{% static 'chapters_editor/chapters-editor.js' %}"></script>
<script src="{% static 'chapters_editor/chapters-editor.js?v={{ VERSION }}' %}"></script>
<script>
window.MEDIA_DATA = {

View File

@@ -5,10 +5,10 @@
{% block headtitle %}Edit video - {{PORTAL_NAME}}{% endblock headtitle %}
{% block topimports %}
<link href="{% static "video_editor/video-editor.css" %}" rel="preload" as="style">
<link href="{% static "video_editor/video-editor.css" %}" rel="stylesheet">
<link href="{% static "video_editor/video-editor.css?v={{ VERSION }}" %}" rel="preload" as="style">
<link href="{% static "video_editor/video-editor.css?v={{ VERSION }}" %}" rel="stylesheet">
<script src="{% static 'video_editor/video-editor.js' %}"></script>
<script src="{% static 'video_editor/video-editor.js?v={{ VERSION }}' %}"></script>
<script>
window.MEDIA_DATA = {

View File

@@ -4,6 +4,7 @@ MediaCMS.site = {
url: '{{FRONTEND_HOST}}',
api: '{{FRONTEND_HOST}}/api/v1',
useRoundedCorners: {% if USE_ROUNDED_CORNERS %}true{% else %}false{% endif %},
version: '{{VERSION}}',
theme: {
mode: '{{DEFAULT_THEME}}',
switch: {