]> _ Git - fluidbook-html5.git/commitdiff
wait #7949 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jan 2026 11:04:50 +0000 (12:04 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Jan 2026 11:04:50 +0000 (12:04 +0100)
js/libs/fluidbook/fluidbook.video.js

index 531a62c5db7ef2752a879825955ce4c663d84f16..2dfcd252c2743dd04b7e75594f06b17293711f88 100644 (file)
@@ -272,6 +272,9 @@ FluidbookVideo.prototype = {
         }
 
         function addAudioTracks() {
+            if (tracks.length === 0) {
+                return;
+            }
             var audioTrackHtml = '<div class="audioTrackContainer">';
 
             for (var k = 0; k < tracks.length; k++) {