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
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 |
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 |