File.prototype.OpenAudioFile = function(dPath)
{
var rem = document.createElement("div")
rem.name = "divv";
rem.id = "divId";
rem.innerHTML = '<embed src="' + dPath + '" autostart="false" name="' + dPath + '"></embed>';
document.body.appendChild(rem);
}
I'm using the way above to solve my sound problem but when i attach div object to document sound plays automaticly.is there any solution for it?
by the way, im not working on internet browsers, it's a part of a framework for tv. it supports js 1.2.