From my previous question, it was answered that quicktime will capture all of the events in the embed tag. I am using the code below to play a sound clip. I was wondering if there was any other way to handle an onClick? I want to call some javscript onClick.
<EMBED src='my_soundfile.wav' type='audio/wav' controls='smallconsole' autostart='false' onClick="_gaq.push(['_trackEvent', 'Audio', 'Play', 'my_soundfile.wav']);"></EMBED>
I’ve been thinking about it and came up to a possible solution:
In my opinion it’s the only way it will work