Audio won't autoplay, even with OnPageShowPlay action in Lectora Inspire
July 24, 2014 12:00 AM
Hi. In my course I started out using autoplay for audio. When that didn't work I added an action OnPageShowPlay to each audio file that I wanted to autoplay. However, it's not working for all pages. I am completely out of ideas on how to make this work and would welcome your input! I'd be happy to share the file if that would help.
Note that the audio does play in most cases if I open pages individually, but it won't play when I run the course serially.
Thanks in advance!
Joanna
Discussion (2)
There are a lot of differences between Run/Preview modes and HTML. Does it do this when published?
<<< ...I added an action OnPageShowPlay to each audio file that I wanted to autoplay. However, it's not working for all pages... >>>
Have you tried adding a slight delay to the playback action, I usually use 0.1 or 0.2 seconds to give a little extra time for the page to finish loading before the play command is sent. If you are loading a lot of elements maybe try a longer delay like 0.5 seconds.
Discussions have been disabled for this post