Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/11/2002, 19:26
Mark70
 
Fecha de Ingreso: noviembre-2002
Mensajes: 24
Antigüedad: 21 años, 5 meses
Puntos: 0
Sonidos...!!!

Hola:

Estoy haciendo una página WEB, pero le estoy metiendo sonido a unos botones, para cuando pasen el mouse por encima de ellos se oiga con voz el nombre del boton. En Dreamweaver hici esto, pero en mi computadora, si funciona... pero en otras computadoras cuando pasan el mouse por encima del boton, se abre el Media Player para oir el sonido o el Quick Time. Este es el codigo que genero Dreamweaver... Que es lo que tengo que hacer... para que funcione en todas las computadoras sin que se tenga que abrir otro programa para oir el sonido...? de antemano gracias por su comentarios...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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>
<div id="Layer1" style="position:absolute; left:20px; top:18px; width:127px; height:23px; z-index:1"><img src="file:///C|/Archivos%20Marco%20Vasquez/Web%20Site%20Xrevolutio.net/BotonContactowhite.jpg" width="122" height="19" onMouseOver="MM_controlSound('play','document.CS10 38272830060','Boton%20Contact%20Us.mp3')"></div>
<EMBED NAME='CS1038272830060' SRC='Boton%20Contact%20Us.mp3' LOOP=false
AUTOSTART=false MASTERSOUND HIDDEN=true WIDTH=0 HEIGHT=0></EMBED>
</body>
</html>