What trick will give most reliable/compatible sound alarm in a browser window for most browsers
- by Dirk Paessler
I want to be able to play an alarm sound using Javascript in a browser window, preferably with the requirement for any browser plugins (Quicktime/Flash). I have been experimenting with the tag and the new Audio object in Javascript, but results are mixed:
As you can see, there is no variant that works on all browsers.
Do I miss a trick that is…