Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Hello,

It seems like several sounds in in5 export can not play at the same time. I mean that if one sound starts it stops the one already playing. But what if I want some noise playing on the background? I found out that sounds from an embedded HTML do play simultaneously and don't stop but the problem is that they never stop playing afterwords.

Is it probably possibile to turn off the rule that playing sound stops the previous one?
in how_to by (150 points)
  
I'll look into this.

1 Answer

0 votes
 
Best answer

Update: This can now be controlled in the Audio Widget (in5 > Interactive Widgets > Audio).


Attach this custom code as a .js file using the Resources section of the in5 dialog and it should do the trick:

$(function(){
    $('audio').on('loadedmetadata', function(){
        if(this.hasOwnProperty('player')) this.player.options.pauseOtherPlayers = false;
    });
});

by (197k points)
selected by