How to notify soundmanager of new sounds without calling initDom again?
I am adding sounds to the page programatically (using Javascript).
So say I have 3 sounds on the page, I call pagePlayer.initDOM().
Then I add another with another mp3 in it. This new mp3 is not playable since initDom() has already been called. If I call initDom again, I get various errors like 'oTiming is null'.
What is the correct way to tell soundmanager, "hey, there is a new sound on the page"?
I'm trying to make the page ajaxy and not have to reload.
So say I have 3 sounds on the page, I call pagePlayer.initDOM().
Then I add another
What is the correct way to tell soundmanager, "hey, there is a new sound on the page"?
I'm trying to make the page ajaxy and not have to reload.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Ah yes, I really need to make this page player work with XHR'ed content as people keep asking about it. :P
This thread may be of interest:
http://getsatisfaction.com/schillmani...
Having a future version of the page player scan the DOM for changes and/or attach handlers would seem like a good idea, in addition to initDom() or some such.
The company says
this answers the question
Loading Profile...



EMPLOYEE