Tuesday, November 18th, 2008
Sound comes via the <embed> tag, relying on native browser functions:
for (var sound in sounds)
var embedContainer = document.createElement(“div”);
embedContainer.className = “embedContainer”;
embedContainer.innerHTML = soundElementString(sound, sounds[sound]);
I recently found it’s possible to combine this no-flash sound technique with data: URLs, so you can build audio web apps without Flash and offline, running from a single file. It’s all very experimental at this stage though.
Posted by Michael Mahemoff at 4:09 am