media/EventSounds

Source: EventSounds.js:32

File : media/EventSounds.js
Created : 01/04/2015
By : Francesc Busquets francesc@gmail.com

JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js

  • License: EUPL-1.2

Other

EventSounds

The EventSounds objects contains specific sounds to be played when JClic events are fired:

  • start
  • click
  • actionError
  • actionOk
  • finishedError
  • finishedOk

The sounds are stored in an array of EventSoundsElement objects.

Parameters

  • parent (module:media/EventSounds.EventSounds, optional) — Another EventSounds object that will act as a parent of this one,
    used to resolve which sound must be played for events when not defined here.