Hallo Leute,
Ich muss mich erstmal enschuldigen das ich schon wieder eine Frage zur Hintergrund Musik stelle !!!
Doch jetzt zum wichtigen Teil des Posts:
Warum geht die pause Funktion der Musik nicht ???
Das ist der Quellcode, das mit Stop und Play geht ja wunderbar doch die Pause Funktion will nicht hin hauen.
<html>
<head>
</head>
<body>
<script language="JavaScript">
<!--
function playSound() { document.firstSound.play(); }
function pauseSound() { document.firstSound.pause(); }
function stopSound() { document.firstSound.stop(); }
//-->
</script>
<a href="javascript:playSound()">Play the sound now!</a><br>
<a href="javascript:pauseSound()">Pause/Restart the sound</a><br>
<a href="javascript:stopSound()">Stop the sound</a><br>
<embed src="./../snd/bg.mp3" hidden=true autostart=false loop=false name="firstSound" MASTERSOUND>
</body>
</html>
Danke schon mal!
samy,