Closed kressly closed 3 years ago
@kressly
The official website says that you must call setup()
method when lazyloading the library.
soundManager.setup({
url: '/path/to/swfs/',
onready: function() {
// soundManager.createSound() etc. here
}
});
Ref: http://www.schillmania.com/projects/soundmanager2/doc/getstarted/#lazy-loading
Here is a link to soundmanager WITHOUT defer where all sound can be played and are working and here is another link to the same soundmanager WITH defer where due to
type="deferjs"
the sound can not be played. Please how to fix it ?