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

Audio Playback Not Working Properly for Drag and Drop Activity in HTML5 Output

Community Beginner ,
May 28, 2016 May 28, 2016

I'm encountering a bizarre issue in which a brief audio clip attached to the DragStart state of my Drag Source object will only play when the mouse is clicked and the cursor remains stationary. When I click and drag, the audio is interrupted. I would like the clip to continue playing as the object is dragged, which I believe is the intended behavior. It works as desired when I preview as SWF, but it does not work when previewed in HTML5, which will be the published format when the course is complete. I'm using Captivate version 9.0.1.320 on a Mac. I've included a video below as an illustration of the behavior.

496
Translate
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 ,
May 28, 2016 May 28, 2016

I tried to reproduce the problem, but I'm on Windows, and for me the audio in the DragStart state played completely. I used Preview HTML in Browser, with Chrome. Which browser did you use? Did you ever try after publishing?

Not sure, but it sounds like you have another audio clip in the Dragover state? The first DragStart audio clip stops when the Dragover audio clip starts playing.

Translate
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 Beginner ,
May 29, 2016 May 29, 2016

Thanks, Lilybri. I'm using Chrome to preview as well, and I get the same result with the published files, unfortunately. And DragStart is the only state of the Drag Source to which I've attached audio. The other audio clip you're hearing is attached to the Drop Target, which plays when the Drag Source is accepted.

You've given me the idea of testing this out in the Windows version of Captivate. I'll let you know how it goes . . .

Thanks again.

Translate
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 ,
May 29, 2016 May 29, 2016

I will wait for your answer, but could also double-check if the audio clip attached to the Drop Target state could be the culprit. I tried with the Dragover state which is another drag source state.

Translate
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 Beginner ,
May 31, 2016 May 31, 2016

The audio clip is definitely attached to the DragStart state of the Drag Source. I did try instead attaching the clip to the DragOver state instead of the Drag Source, but I get the same result; as soon as I drag over the Drop Target, I have to keep my cursor completely still in order to hear the sound. I tried swapping in a few different audio clips just to be sure the problem doesn't lie with the audio file itself. I'm sufficiently stumped.

Translate
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 ,
May 31, 2016 May 31, 2016

Just double-checked again on the first file I used for this blog post: http://blog.lilybiri.com/drag-and-drop-in-2016-with-captivate-9

I attached an audio clip to the DragStart state of the drag source, and two audio clips to the Drop Target: one for correct and one for incorrect. As I told before: the first clip starts playing immediately while dragging, stops when I'm over the drop target. When I drop the drag source either the correct or the incorrect clip plays. It is so difficult when I cannot reproduce the problem to try to find a solution. Did you try in the Win version? It could be a bug for Mac version.

Translate
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 Beginner ,
May 31, 2016 May 31, 2016

Thanks for sticking with me, here. I did try the Windows version, but I got the same result. Not sure what the issue could be. I'm going to try a clean install of Captivate 9 on another machine and see if that changes things.

Translate
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 ,
May 31, 2016 May 31, 2016

Did you try clearing Cache and Preferences already? It is necessary if you install on a machine that had already a Cp-version before.

Translate
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 Beginner ,
May 31, 2016 May 31, 2016
LATEST

Yeah. I've tried both of those things, but the result is the same.

Translate
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