Skip to main content
Participating Frequently
May 28, 2016
Question

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

  • May 28, 2016
  • 2 replies
  • 567 views

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.

This topic has been closed for replies.

2 replies

Lilybiri
Legend
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.

JDCentersAuthor
Participating Frequently
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.

Lilybiri
Legend
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.

Lilybiri
Legend
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.

JDCentersAuthor
Participating Frequently
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.