<head>
<Title>Mi Titulo</title>
<script language="javascript" type="text/javascript" src="swfobject.js" ></script>
</head>Ahora, agregamos una capa, y en vista de codigo anexamos el siguiente codigo, al igual que el metodo de la Fecha dinamica.
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashmp3player.swf", "player", "290", "247", "9");
// Location of swf file. You can change player width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addVariable("content_path","mp3"); // Location of a folder with mp3 files (relative to php script).
so.addVariable("color_path","default.xml"); // Location of xml file with color settings.
so.addVariable("script_path","flashmp3player.php"); // Location of php script.
so.write("player");
</script>
Guardamos y visualizamos en el navegador, solo queda agregar canciones en formato mp3 en la carpeta para que sean cargadas en el reproductor.
No hay comentarios:
Publicar un comentario