]> git.parisson.com Git - teleforma.git/commitdiff
fix object
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Thu, 22 Feb 2024 17:04:10 +0000 (18:04 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Thu, 22 Feb 2024 17:04:10 +0000 (18:04 +0100)
teleforma/templates/teleforma/course_media_transcoded.html

index 5b0b896e9245fb932591bd7ee264376618521225..af9565908a3069182d86492535e37c49fef0d487 100644 (file)
@@ -56,7 +56,7 @@ $(document).ready(function(){
 {% if "video" in media_transcoded.mime_type %}
 <div class="video">
     <video id="my_video_1" class="video-js vjs-default-skin" width="864" height="480" controls preload="auto" data-setup='{}' {% if media.poster_file %}{% thumbnail media.poster_file "640" as im %}poster="{{ im.url }}"{% endthumbnail %}{% endif %}>
-        <source src="{% url 'teleforma-media-stream' period.id media.id %}" type="{{ media.mime_type }}" />
+        <source src="{% url 'teleforma-media-transcoded' period.id media_transcoded.id %}" type="{{ media_transcoded.mime_type }}" />
     </video>
 </div>
 
@@ -77,7 +77,7 @@ $(document).ready(function(){
 </div>
 <div class="audio">
     <audio controls preload="auto">
-        <source src="{% url 'teleforma-media-stream' period.id media.id %}" type="{{ media.mime_type }}" />
+        <source src="{% url 'teleforma-media-transcoded' period.id media_transcoded.id %}" type="{{ media_transcoded.mime_type }}" />
     </audio>
 </div>
 {% endif %}