From 4a67f285ce14002da80c60d4a9ce7d68d6146285 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 14 Feb 2024 09:45:33 +0100 Subject: [PATCH] add media source for debug mode, fix audio --- teleforma/templates/teleforma/course_media.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index e2a36774..f74c0b45 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -106,7 +106,11 @@ $(document).ready(function(){ data-setup='{"playbackRates": [1, 1.25, 1.5, 2]}' {% if media.poster_file %}{% thumbnail media.poster_file '640' as im %}poster="{{ im.url }}"{% endthumbnail %}{% endif %} > - + {% if value_from_settings DEBUG %} + + {% else %} + + {% endif %}

To view this video please enable JavaScript, and consider upgrading to a web browser that @@ -143,7 +147,11 @@ $(document).ready(function(){

{% endif %} -- 2.39.5