Richard Moulton Messages: 79 Registered: August 2011 Location: Devon, UK
Member
Brian,
Thanks for the pointer. That gave me the start I needed and it was actually easier to get something working than I was expecting.
Within my event function I instantiated a html widget as follows and this played my wav file, which I'd previously imported into my webcontent/audio folder.
There's still some more work to do though as this works fine in chrome but not in firefox and I need to test the browser support for different audio capabilities and formats. I'll also need to make sure I destroy my instantiated widget.
There's some interesting stuff here that I'll start working through.