From: Vincent Vanwaelscappel Date: Wed, 21 Feb 2024 16:08:31 +0000 (+0100) Subject: wip #6740 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=eae7a6eb37cff411cba6d02d0486c827b4a3e81b;p=fluidbook-html5.git wip #6740 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.audioplayer.js b/js/libs/fluidbook/fluidbook.audioplayer.js index 754ae7e0..4480a92c 100644 --- a/js/libs/fluidbook/fluidbook.audioplayer.js +++ b/js/libs/fluidbook/fluidbook.audioplayer.js @@ -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 diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 37479abe..e0b1b4e2 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -417,6 +417,7 @@ FluidbookMenu.prototype = { if (callback != undefined) { callback(); } + $this.fluidbook.audioplayer.initAudios(); }, openWebVideo: function (service, video, callback) { var hash = '#/webvideo/' + service + '/' + video;