|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 139 ||All time: 357 This week: 14|
This object can play sounds when events happen on page elements.
It can listen to events on given page elements and play given sounds when those events happen.
The object can match elements to listen to the given events by class or id selectors.
It can play sounds of multiple alternative formats depending on what each browser supports.
|Many sites need to call to the attention of the users when certain events occur. Playing sounds is one of the ways to achieve that.
This object can play sounds as result of events that may occur due to user interactions.
JsSound makes it very simple to attach sound events to elements. JsSound can be used on either class or id selectors, can take either a file name as a string or to accomodate different browsers can accept an array of different files.
JsSound will detect the capabilities of the browser and as long as the correct format is supplied will use that format.
npm run-script build
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.