A
avaya
New member
- Beiträge
- 1
- Punkte Reaktionen
- 0
Hallo zusammen,
ich habe mich das letzte Mal vor 10 Jahren mit HTML beschäftigt und hoffe deshalb auf Hilfe.
Ich habe eine lokale Webseite vorliegen, die bei Klick auf ein Bild einen bestimmten Ton abspielen soll. Die Webseite wurde vor 8 Jahren von einem anderen erstellt.
Nun läuft das ganze lokal unter Win7 mit IE9 (Ausstellungsrechner).
Leider gibt es keinen Ton beim Abspielen.
Kann mir jemand sagen woran das liegen könnte?
Im Ordner Audio liegt die Wav Datei "Goldammer.wav" vor.
Anbei die HTML Seite:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_controlSound('play','document.CS1064950027894','Audio/goldammer.wav')">
<img src="Bilder/start-goldammer.jpg" width="800" height="400" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="4,41,156,198" href="zilpzalp.htm">
<area shape="rect" coords="161,42,317,199" href="sonnenvogel.htm">
<area shape="rect" coords="322,42,477,198" href="pirol.htm">
<area shape="rect" coords="483,40,638,199" href="rotkehlchen.htm">
<area shape="rect" coords="642,41,797,198" href="zaunkoenig.htm">
<area shape="rect" coords="5,203,156,362" href="nachtigall.htm">
<area shape="rect" coords="162,205,319,359" href="maskenbuelbuel.htm">
<area shape="rect" coords="323,203,478,361" href="gruenfink.htm">
<area shape="rect" coords="483,203,640,359" href="Baumsteiger.htm">
<area shape="rect" coords="644,202,798,361" href="goldammer.htm">
</map>
<EMBED NAME='CS1064950027894' SRC='Audio/goldammer.wav' LOOP=false
AUTOSTART=false MASTERSOUND HIDDEN=true WIDTH=0 HEIGHT=0></EMBED>
</body>
</html>
Kann mir jemand helfen?
Gruß
avaya
ich habe mich das letzte Mal vor 10 Jahren mit HTML beschäftigt und hoffe deshalb auf Hilfe.
Ich habe eine lokale Webseite vorliegen, die bei Klick auf ein Bild einen bestimmten Ton abspielen soll. Die Webseite wurde vor 8 Jahren von einem anderen erstellt.
Nun läuft das ganze lokal unter Win7 mit IE9 (Ausstellungsrechner).
Leider gibt es keinen Ton beim Abspielen.
Kann mir jemand sagen woran das liegen könnte?
Im Ordner Audio liegt die Wav Datei "Goldammer.wav" vor.
Anbei die HTML Seite:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_controlSound('play','document.CS1064950027894','Audio/goldammer.wav')">
<img src="Bilder/start-goldammer.jpg" width="800" height="400" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="4,41,156,198" href="zilpzalp.htm">
<area shape="rect" coords="161,42,317,199" href="sonnenvogel.htm">
<area shape="rect" coords="322,42,477,198" href="pirol.htm">
<area shape="rect" coords="483,40,638,199" href="rotkehlchen.htm">
<area shape="rect" coords="642,41,797,198" href="zaunkoenig.htm">
<area shape="rect" coords="5,203,156,362" href="nachtigall.htm">
<area shape="rect" coords="162,205,319,359" href="maskenbuelbuel.htm">
<area shape="rect" coords="323,203,478,361" href="gruenfink.htm">
<area shape="rect" coords="483,203,640,359" href="Baumsteiger.htm">
<area shape="rect" coords="644,202,798,361" href="goldammer.htm">
</map>
<EMBED NAME='CS1064950027894' SRC='Audio/goldammer.wav' LOOP=false
AUTOSTART=false MASTERSOUND HIDDEN=true WIDTH=0 HEIGHT=0></EMBED>
</body>
</html>
Kann mir jemand helfen?
Gruß
avaya