Ver Mensaje Individual
  #8 (permalink)  
Antiguo 15/04/2009, 06:34
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años, 9 meses
Puntos: 834
Respuesta: JW FLV Media Player 4.4 - Cómo pasarle listas?

Probá este ejemplo:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Documento sin t&iacute;tulo</title>
<
script src="swfobject.js"></script>
<script>
function reproducir(archivo){
     var s1 = new SWFObject('Scripts/player.swf','ply','640','260','9','#ffffff');
    s1.addParam('allowfullscreen','true');
    s1.addParam('allowscriptaccess','always');
    s1.addParam('wmode','opaque');
    s1.addParam('flashvars',archivo);
s1.write('mediaspace');
}
</script>
</head>

<body>
<div id="mediaspace"></div>
<script>reproducir('file=archivo.php?artista=uno&playlist=right&playlistsize=280&streamer=lighttpd &fullscreen=true&backcolor=000000&frontcolor=ffffff');</script>
<a onclick="reproducir('file=archivo.php?artista=dos&playlist=right&playlistsize=280&streamer=lighttpd &fullscreen=true&backcolor=000000&frontcolor=ffffff')" href="#">OTRO DOS</a><br />
<a onclick="reproducir('file=archivo.php?artista=tres&playlist=right&playlistsize=280&streamer=lighttpd &fullscreen=true&backcolor=000000&frontcolor=ffffff')" href="#">OTRO TRES</a>
</body>
</html> 
(tendrás que crear el archivo archivo.php, el cual deberá entregar un xml en el formato esperado por el player, usando para la consulta el parámetro get artista)