tags:

views:

87

answers:

1

I don't understand what Dusan Jovanovic means when he refers to host_element in his documentation about DBJ-SOUND.

Q: What do I put into:

$.dbj_sound.play( host_element )
+1  A: 

Looking at this:

* return sound file url from host element
* host must be valid html element with attribute href present
* $.dbj_sound.url( host_element )

it seems the host_element is an anchor tag with something like href="path/to-your-sound.wav".

D_N
This worked:var host_element = $('a#whistle');<a id="whistle" href="Referee.wav">
cf_PhillipSenn