]> _ Git - fluidbook-html5.git/commitdiff
wip #6740 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Feb 2024 16:08:31 +0000 (17:08 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Feb 2024 16:08:31 +0000 (17:08 +0100)
js/libs/fluidbook/fluidbook.audioplayer.js
js/libs/fluidbook/fluidbook.menu.js

index 754ae7e05e05dfdcc6dc7a731d82538d02ec1cb3..4480a92c7e3a67a38a429d1715a5d54a8b282f91 100644 (file)
@@ -27,7 +27,6 @@ FluidbookAudioPlayer.prototype = {
 
     },
 
-
     initAudios: function () {
         var $this = this;
         $('audio.redbull').each(function () {
@@ -120,12 +119,4 @@ FluidbookAudioPlayer.prototype = {
         var y = center[1] + Math.sin(radians) * radius;
         return [x, y];
     },
-
-    // draw an arc
-    // centered at (100, 100),
-    // radius 80, starting at degree 0,
-    // beginning at coordinate (80, 0)
-    //   which is relative to the center
-    //   of the circle,
-    // going clockwise, until 270 degree
 }
\ No newline at end of file
index 37479abef58311e99ed0c17ed67008fe2a8f9460..e0b1b4e24e1e15843c9a58bd59e35251068bac8c 100644 (file)
@@ -417,6 +417,7 @@ FluidbookMenu.prototype = {
         if (callback != undefined) {
             callback();
         }
+        $this.fluidbook.audioplayer.initAudios();
     },
     openWebVideo: function (service, video, callback) {
         var hash = '#/webvideo/' + service + '/' + video;