<script src='audio_sequence.js' type='text/javascript'></script> <script type='text/javascript'> var player = audio_sequence({ files: ['1.mp3', '2.mp3', '4.mp3'], repeat_forever: 'true' }) </script>
this.options = { files: [], // audio files inserted will be stored in repeats: 0, // number of repeats to obey with some adjustments later repeat_whole: 'true', // repeat all files as whole for the number of repeats repeat_each: 'false', // repeat each file for the number of repeats [You can not select both !] repeat_forever: 'false', // to keep repeating endlessly, only works on repeat whole repeat_delay: 0, // to add a time delay between each repeat in seconds reverse_order: 'false', // to reverse the order list of audio files shuffle_order: 'false', // to randomly shuffle the order of the files list volume: options.volume || 0.5, // to set the default volume > 0 && < 1 auto_start: 'true', // to auto start playing as the module loads cleanup: 'true' // to clean up after existing }
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.