Skip to content

JOTPOT-UK/JOTPOT-Sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JOTPOTSound

JavaScript Sound Engine

JOTPOT Sound is very simple and easy to use. Simply add the JOTPOTSound.js file in to your HTML page & it is ready to go.
It supports MP3, Wav & Ogg files.


Reference

JOTPOTSound.play(<sound file to play>,<weather or not to loop>,<volume of audio>,<location in track to play from>) / jps.play(<sound file to play>,<weather or not to loop>,<volume of audio>,<location in track to play from>) Plays a audio file (after being played onces it stays loaded incase played again)
JOTPOTSound.pause(<sound file to pause>) / jps.pause(<sound file to pause>) Plays a audio file (after being played onces it stays loaded in case played again)
JOTPOTSound.pauseAll() / jps.pauseAll() Pauses all sounds being played
JOTPOTSound.soundsList / jps.soundsList A variable containing an array of all loaded/playing sounds.
Note: JOTPOTSound or jps will both work the same.

About

JavaScript Sound Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published