• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Publish Failed after adding audio to buttons

New Here ,
Oct 28, 2024 Oct 28, 2024

Copy link to clipboard

Copied

Hello all,

I am working on a presentation using Captivate Classic. Before anyone says to use the new one, I need the classic version for the 360 slides for this project. I am using version 11.8.3.8, using a windows 11 pro (version 22631.4169) Dell laptop.

 

The issue I am having is that it published fine until I add audio to an advanced action. Here is the action.

Conditional Tab:

  • if Var_Fences is equal to 0

Action:

  • Show Fences
  • Increment Var_Fences by 1
  • Play Audio Fences

Else

  • Hide Fences
  • Stop Triggered Audio
  • Decrement Var_Fences by 1

 

If I don't have the action to play the audio it is fine. But adding the audio causes the error.

For the record, I used the built in text to speech option as this is a proptype version of the course for the SME's to evaluate. It is a WAV audio file.

Thanks

Scott

TOPICS
Advanced , Advanced actions , Audio and video , Editing

Views

103

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 29, 2024 Oct 29, 2024

Copy link to clipboard

Copied

Try using Assign to set the variable to 1 or 0 instead of increment.

 

Increment and Decrement are only useful actions when you need to know the number of times something happens or does not happen.  But if you are relying on the value being either 0 or 1 then Increment or Decrement can get you into trouble if there is any way something else in your navigation or project actions might inadvertently change that value.

 

The Assign action explicitly sets the value of the variable to one or other possible boolean value.  It's far more reliable.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 29, 2024 Oct 29, 2024

Copy link to clipboard

Copied

Thank you for that feedback. However that did not correct the publishing error for the audio being added to the button.

 

Any other thoughts?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 29, 2024 Oct 29, 2024

Copy link to clipboard

Copied

Can you be a bit more specific about this "publishing error"?

 

Does the project fail to publish at all, or does it simply not play the audio when you expect? Does it show an error message of some kind?

 

Any information might help debug the issue.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 30, 2024 Oct 30, 2024

Copy link to clipboard

Copied

Hello,

I will try to answer this.

To start, I created the .wav files using the CpC Text-To-Speech generator and is saved in the library. At first the files were saved just in the audio folder, then I created a sub-folder to keep my files organized. The error occured in both locations.

I created the button, with the advanced action and added the audio after I had created and tested the buttons. That is when the error occured.

advanced action.png

audio files.png

 

When I add the audio to the advanced action I try to preview (HTML5) and I receive the following message:

Preview error.png

When I try to publish to the computer or for LMS, I receive the following messages:

Publish Error 1.pngPublish Error 2.png

I am at a loss here.

 

Thanks

Scott

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 30, 2024 Oct 30, 2024

Copy link to clipboard

Copied

The only thing that I can see which could potentially cause a conflict is that you have named your button object and the audio file have the same name (Fences).  I have seen situations where using the same name for two different things can cause issues.  Other than that everything looks fine to me.

 

So, as a test, try taking a copy of your current project, hide all slides except the one that has this Fences interaction (to reduce complexity), and then test publish.  If the same issue occurs,  change the name of the object by adding a prefix that indicates what type of object it is (e.g. button_fences), change the name of the audio file as well (e.g. wav_fences) and then see if you can then get it to publish.

 

I am suggesting reducing the size of the project down to just one or two slides when testing things like this because if the problem is elsewhere in the project then you may find that what you thought was causing the issue is in fact not the problem.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 30, 2024 Oct 30, 2024

Copy link to clipboard

Copied

LATEST

I usually only do the test with the one slide. When I took those screen shots, it was just for the one slide.

I have tried changing the audio file to wav_fences. The button is actually titled Fences_toggle. The advanced interaction was already titled action_fences and the fences variable was var_fences.

Before I tried retesting, I did clear the cache just in case. I also restarted my pc.

I then tried publishing and previewing, both the same errors.

I think I am going to have to contact Adobe.

Thank you for your help.

Scott

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources