All pastes #971771 Raw Edit

Untitled

public text v1 · immutable
·published 2008-04-04 23:22 UTC
rendered paste body
<!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>Sample Flash Music Player Embed Code</title>

</head>

<body>






<script type="text/javascript" src="swfobject.js"></script>

		

<div id="flashPlayer">

  This text will be replaced by the flash music player.

</div>



<script type="text/javascript">
var qsParm = new Array();
function qs() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i<parms.length; i++) {
var pos = parms[i].indexOf('=');
if (pos > 0) {
var key = parms[i].substring(0,pos);
var val = parms[i].substring(pos+1);
qsParm[key] = val;
}
}
} 

qsParm['plid'] = null;
qs();

if (qsParm['plid'])

   var so = new SWFObject("playerMultipleList.swf", "mymovie", "295", "200", "7", "#FFFFFF");  

   so.addVariable("autoPlay","yes")

   so.addVariable("playlistPath",plid + ".xml")

   so.write("flashPlayer");

</script>





</body>

</html>