Background audio

GuillaumeC
GuillaumeC Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 4 ☆ Roadie ☆
Hello,
I would like to add an audio file that plays accross all pages of a title.
I can't find the correct setting in the Audio / Properties tab.
Can you please indicate the procedure to do so ?
Thanks !

Comments

  • nmaharaj
    nmaharaj Moderator Posts: 10 eLearning ROCKSTAR Stage Manager
    Hello GuillaumeC,

    Add the background audio as instructed by Adam (above) then add an Action on the title level
    OnShowRunJS
    ba = getDisplayDocument().getElementsByTagName("audio")[0];

    Note: this will play the background audio seamlessly page after page in a loop, my suggestion is to have also have a seamless audio loop so you can't hear the start or end of the audio, lastly this will only work on publish (HTML or SCORM)

    -N