а если autostart=
"false
" loop="false" ?
Вот похожаю проблема:
http://www.ahfb2000.com/webmaster_he...ead.php?t=7019
Решение:
Код:
<HTML><HEAD><TITLE>Your Title Here</TITLE>
<SCRIPT language=JavaScript>
<!--
function embPlayer() {
// Get Operating System
var isWin = navigator.userAgent.toLowerCase().indexOf("windows") != -1;
if (isWin) { // Use MIME type application/x-mplayer2
visitorOS="Windows";
} else { // Use MIME type audio/mpeg, audio/x-wav, etc.
visitorOS="Other";
}
var objTypeTag = "application/x-mplayer2"; // MIME type for non-IE browsers on Windows
if (visitorOS != "Windows") { objTypeTag = "audio/mpeg"}; // MIME type for Linux & Mac
document.writeln("<object width='300' height='42'>");
document.writeln("<param name='type' value='" + objTypeTag + "'>");
document.writeln("<param name='src' value='SOMEMUSIC.MID'>");
document.writeln("<param name='autoplay' value='true'>");
document.writeln("<param name='autostart' value='0'>");
document.writeln("<param name='volume' value='-9'>");
document.writeln("<param name='controller' value='1'>");
document.writeln("<param name='PlayCount' value='2'>");
document.writeln("<EMBED src=mysong.mp3 type='" + objTypeTag + "' autoplay='false' autostart='-1' width=300 height=42 volume='-9' controller='1' PlayCount='7'></EMBED>");
document.writeln("</object>");
document.close(); // Finalize document
}
// -->
</SCRIPT>
<BODY>
<IMG alt="" src="somepic.gif"><BR>
<SCRIPT language=JavaScript>
embPlayer();
</SCRIPT>
<NOSCRIPT>
<EMBED src=SOMEMUSIC.MID width=300 height=42 type=application/x-mplayer2
volume="-9" PlayCount="2" controller="true"></EMBED>
</NOSCRIPT>
</BODY>
</HTML>