2 Replies Latest reply: Sep 11, 2014 10:51 PM by SLingwood RSS

    Cp 8 Audio Issues with Flash

    SLingwood

      I'm officially stumped. I tested our Captivate 8 project's HTML5 and Flash output today, and here's what I got:

       

      • The HTML5 audio worked where it was supposed to (not with Firefox or other known browser incompatibilities)
      • The Flash audio would work...and then stop working correctly after you visited certain slides in the project.

       

      First, the setup:

      The audio is triggered two ways. The primary way is on slide entry, via either an advanced action or a shared action. Or, the user can trigger it via a shape button that's an audio toggle. There's a variable associated with the sound toggle that stores whether the user wants sound or not. (I'm not using the playbar.) When you navigate off the slide (again, using buttons), it stops the triggered audio.

       

      Now, the specifics:

      • The part that stops working in the Flash version is the audio that's triggered on slide entry.
      • In all cases, you can still trigger the slide's audio via the audio toggle buttons.
      • The only commonality, as far as I can tell, is that if you visit a slide where the on slide entry action (that triggers the audio) is a shared action, it stops working. If you go back to a slide where the on slide entry action is an advanced action (not shared), it starts working again.
      • I didn't have this problem a couple weeks ago. Recently, my Flash updated to version 15.0.0.152.

       

      Anyone have any ideas? I can't drop the Flash version because I can't get the HTML5 version to play nicely with Firefox, older IE browsers, or (a new problem to me) Chrome 37.

       

      Thanks in advance.

        • 1. Re: Cp 8 Audio Issues with Flash
          mark20044 Community Member

          As far as the HTML5 output goes, do you have the updated index.html? http://blogs.adobe.com/captivate/2014/07/update-on-captivate-html-5-content-playback-issue -in-google-chrome-browser.html

          That'll help with Chrome, not necessarily any of the other browsers however.

           

          I have no idea what's going on with the Flash version, my only suggestions are to try enabling or disabling "Publish audio as mono" in the Publish Settings, or to try changing the encoding of the source audio files (mp3, wav, aac). Captivate re-encodes the audio to mp3 when you publish, and it's possible the swf packager doesn't like the audio files you're using.

           

          That's all I can think of, good luck!

          • 2. Re: Cp 8 Audio Issues with Flash
            SLingwood Community Member

            Thanks for the reply!  I do have the updated index.html - I'm very glad for it.

             

            Well, today's lesson was about the order of the actions in your scripts. I discovered that I'd accidentally written the shared actions that jumped to slides in this order:

             

            //various other commands

            Jump to slide _x_

            Stop triggered audio

             

            The interesting thing here is that HTML5 must interpret the actions differently than Flash. HTML5 saw this and, I'm thinking, executed the commands in this order:

            • Jump to slide _x_
            • Stop the triggered audio
            • Execute the on slide entry script (which plays the audio)

             

            Flash, however, executed it in this order:

            • Jump to slide _x_
            • Execute the on slide entry script (which plays the audio)
            • Stop the triggered audio

             

            The upshot? In this scenario, HTML5 gives you audio. Flash gives you something to go fix.