You can now autoplay your audio files as soon as the learner hits that block!

https://youtu.be/QNTtKYxqIVs

Disabling Autoplay (Audio and Video)

If you want to give learners control over autoplay, you can disable it by setting the window.MIGHTY_DISABLE_AUTOPLAY variable. This will prevent all Mighty autoplaying mods automatically.

How to Implement

  1. Add a custom code snippet to your course
  2. Set the window.MIGHTY_DISABLE_AUTOPLAY variable to control autoplay behavior
  3. Create your own user interface (such as a toggle button or checkbox) that allows learners to enable or disable autoplay based on their preference

This gives you full flexibility to design the user experience around autoplay settings, letting learners choose whether they want videos to play automatically or prefer manual control.