Skip to content

AudioQueJS lets you create audio que (playlist) with javascript.

License

Notifications You must be signed in to change notification settings

bb7hn/audioQueueJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose And Presentation

I created this module because I read some blog posts about why you can't create an audio queue (playlist) with JS. Then I wanted to try 😊. Soooo... , here I am with audioQueueJS

Functions

play() :

Parameter Description Required
fileName (string) file name of the audio (can contain folder path too). e.g. : 'audio/testAudios/audio.mp3' true
loop (boolean) it sets will the audio loop or don't. e.g. true (default is false) false
sourceUrl (string) full path of the website which contains audio files. e.g. 'https://batuhanozen.com' (default is '/') false

audioQueue() :

Parameter Description Required
queue (Array of Strings) file names of the audios (can contain folder path too). e.g. : ['audio/testAudios/audio.mp3','audio/testAudios/audio2.mp3'] true
reversed (boolean) it sets will the queue start from the end or from the beginning. e.g. true (default is false) false
sourceUrl (string) full path of the website which contains audio files. e.g. 'https://batuhanozen.com' (default is '/') false

Author and Contributor : Batuhan ÖZEN

About

AudioQueJS lets you create audio que (playlist) with javascript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published