Loic asked me to make a sample of how to trigger sound from javascript
using swf to bootstrap jpoker sound notification.

Here is a sample, using <embed> DOM injection, and <embed> src
attributes, to trigger a sound from a button click event:
http://proppy.aminche.com/soundswiff/index.html

Flashsoundapi (http://www.flashsoundapi.com/) provides a nice API to
more advanced techniques, but it doesn't seems to work with Gnash.
(I've mailed the authors to know if this a known issue).

Source are here:
http://proppy.aminche.com/hg/soundswiff/

Note: you need vorbis-tools and swftools to be able to convert the .ogg
file in .swf
-- 
Johan Euphrosine <[EMAIL PROTECTED]>


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to