Código HTML:
<!DOCTYPE html> <html lang="es"> <head> <!--[if lt IE 9]> <script type="text/javascript"> document.createElement("nav"); document.createElement("header"); document.createElement("footer"); document.createElement("section"); document.createElement("article"); document.createElement("aside"); document.createElement("hgroup"); </script> <![endif]--> <title></title> <meta charset="utf-8"/> <script src="js/jqueryv1.9.1.js"></script> <script language="javascript" type="text/javascript" src="js/swfobject.js" ></script> </head> <body> <header> <!-- Div that contains player. --> <div id="player"> <h1>No tiene flash player!</h1> <p>Parece que usted no tiene instalado Flash Player <a href="http://www.macromedia.com/go/getflashplayer" >Click Aqui</a> para ir a la pagina de descarga de Macromedia.</p> </div> <!-- Script that embeds player. --> <script language="javascript" type="text/javascript"> var so = new SWFObject("flashmp3player/flashmp3player.swf", "player", "290", "160", "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","flashmp3player/default.xml"); // Location of xml file with color settings. so.addVariable("flashmp3player","flashmp3player/flashmp3player.php"); // Location of php script. so.write("player"); </script>