mardi 10 février 2015

Autoplay audio playlist SoundManager2 bar-ui

I am trying to use SoundManager2 HTML5 Audio Player on a website for a client, however the client is insisting that the track playlist autoplay starting with track 1 and cycle through the rest of the tracks. Here is a link to the base use of SoundManager2's bar-ui, which is the style the client wants to use: website with working demo


The provided script - soundmanager2.js - has an autoPlay: false option, but changing this to true does nothing.


I can successfully play an .mp3, series of .mp3s in the background using the provided documentation located at the Project Website, but if a user clicks the Play button on the actual audio player, it simply plays the track OVER the track currently playing in the background.


I am hoping someone can tell me how to create a function or provide code that will allow the playlist to play THROUGH the audio player UI automatically on page load.


I have done a TON of searching and have tried writing and piecing together scripts, but just cannot seem to get this working! So, I turn to the GENIUSES on SO.


Thank you in advance for any help!


Aucun commentaire:

Enregistrer un commentaire