SRL Archive - Java Help and Tutorials

Music player


JPHamlett

2009-09-10 05:07:58

can anyone look through this code and tell me how i can delete the songs from it and add my own?



<script type="text/javascript" src="http://js.myspacecdn.com/modules/common/static/js/myspace_qlsihldb.js"></script>
<script type="text/javascript" src="http://x.myspace.com/js/myspaceLayout.js"></script>
<script type="text/javascript" src="http://js.myspacecdn.com/modules/common/static/js/dotnetembededresources_dr7vp7ya.js"></script>

<script type="text/javascript">

var MusicSearch_FindArtist="Find a favorite artist, song or album";

</script>
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/musicv2navbar_-7tbdpxv.css" />
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/navsearchbox_8hsqajxi.css" />
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/popupplayer_l_edsrxd.css" />
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/common/static/css/global_wehirfqf.css" />
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/musicplayercontrol_unh0l___.css" />
<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/purchase_lciwo5qk.css" />

<link rel="stylesheet" type="text/css" href="http://x.myspacecdn.com/modules/musicv2/static/css/friendactivity_udwzfbdq.css" />
</head>

<body>


<div id="wrap" class="wrap">






<!-- new nav bar -->
<!-- Regular Music Header -->

<style type="text/css">
#musicHeader
{
display: none;
}

#music_wrap .bannerContainer
{
display: none;
}
</style>
<div id="tkn_adspecial2sonybmg"></div></script>




<form name="aspnetForm" method="post" action="/index.cfm?fuseaction=music.popupplayer&amp;sindex=-1.3&amp;shuffle=false&amp;amix=false&amp;pmix=false&amp;plid=2240&amp;artid=1236250&amp;profid=2148513&amp;friendid=2148513&amp;sseed=0&amp;ptype=3&amp;stime=80.508&amp;ap=1&amp;rpeat=false" id="aspnetForm">
<div>

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTYyODg0MTQyMGRk" />
</div>




<!--ThisisaMySpaceMusicPage-->

<!-- MySpace_MusicJV_PopUpPlayer_Page -->


<script type="text/javascript">


window.onunload = function() {
if (MySpace.Cookies.MSSession){
MySpace.Cookies.MSSession.get_values()["ISPOMPOPEN"] = false;
MySpace.Cookies.save(MySpace.Cookies.MSSession,".myspace.com");
}
}


</script>

<span id="ctl00_ctl00_ctl00_cpMain_cpMain_Main_Place5"><style type="text/css">

/* background-color, background-image, background-repeat are all skinable */
.pompcmslayoutmaindiv { background-color:yellow; background-image:url(http://x.myspacecdn.com/Modules/MusicV2/Static/img/gradient_bkgnd.jpg);
background-repeat:repeat-x; width: 630px; height: 545px; }
.pompcmslayouttable { border: solid 0px #dfe0e2;}
.pompcmslayouttr1 { height: 50px; }
.pompcmslayouttr1td1 { width: 315px; }
.pompcmslayouttr1td1div { width: 300px; height: 40px; margin: 5px 5px 5px 10px;}

/* color (for user name text) is skinable, and needs to fit w/ background color in pompcmslayoutmaindiv */
.pompcmsmslogotrtdttd2 { color:black; }

/* background-image for MySpace logo needs to be 118x29 and is skinable */
.pompcmsmslogotrdt1div { width: 118px; height: 29px; background-image:url(http://cms.myspacecdn.com/Music_Joint_Venture/Images/logo_mymusic.png)}
.pompcmsmslogotrtdttd1Img {height: 28px;border:1px solid #FFF; margin-right: 5px; margin-left:15px }

.pompcmslayouttr1td2 { width: 315px; }

/* background-image needs to be 300x40 and is skinable */
.pompcmslayouttr1td2div { width: 300px; height: 40px; margin: 5px 10px 5px 5px; }
.pompcmslayouttr2 { height: 495px; }
.pompcmslayouttr2td1div { width: 300px; height: 485px; margin: 0px 5px 10px 10px; }
.pompcmslayouttr2td2div { width: 300px; height: 485px; margin: 0px 10px 10px 5px; }

/* background-color is skinable */
.pompcmslayouttr2td2div1 {
background-color:#ffffff;
width: 298px;
height: 225px;
border: 1px solid #A5BCCA;
padding-top: 5px;
}
.pompcmslayouttr2td2div2 { width: 300px; height: 250px; padding: 5px 0px 0px 0px; }

/* background-image, background-repeat are all skinable */
.pompcmslayouttr2td2div1 #feedResult {
background-image:url(http://x.myspacecdn.com/Modules/MusicV2/Static/img/gradient_gray.jpg);
background-repeat:repeat-x;
background-position:0 225px;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 10px;
background-attachment:fixed;
height:194px;
}

.pompcmsmslogotrdt1divCursor { cursor:pointer; }

</style>
</span>

<div>

<div class="pompcmslayoutmaindiv">

<table class="pompcmslayouttable" cellpadding="0" cellspacing="0">

<tbody>

<tr class="pompcmslayouttr1">

<td class="pompcmslayouttr1td1">


<div class="pompcmslayouttr1td1div">




<table class="pompcmsmslogomaintable" cellpadding="0" cellspacing="0">
<tr class="pompcmsmslogotr">
<td class="pompcmsmslogotrdt1">
<!--MySpace Music logo-->
<a href="http://music.myspace.com" target="_blank">
<div class="pompcmsmslogotrdt1div pompcmsmslogotrdt1divCursor">
</div>

</a>
</td>

<td class="pompcmsmslogotrtd2">


<table class="pompcmsmslogotrtd2t" cellpadding="0" cellspacing="0">
<tr style="vertical-align:middle; height: 40px;">
<td class="pompcmsmslogotrtdttd1"><!--User picture-->
<a href="http://www.myspace.com/j_pizzle13"><img src="http://c2.ac-images.myspacecdn.com/images02/9/m_ef5cc72fa88f4a8b848c59c9ef6e38d9.jpg" class="pompcmsmslogotrtdttd1Img" border="0"></a>
</td>

<td valign="middle" class="pompcmsmslogotrtdttd2"><!--User label-->

<div style="font-weight:bold; width:130px; overflow:hidden;" class="pompcmsmslogotrtdttd2text"><a href='http://www.myspace.com/j_pizzle13' title='j pizzle'>j pizzle</a>'s Music Player</div>


</td>
</tr>
</table>

</td>
</tr>

</table>

</module>
</div>
</td>

<td class="pompcmslayouttr1td2">


<div class="pompcmslayouttr1td2div">


<div id="tkn_eastsonybmg"></div>

<script type="text/javascript">
sdc_wrapper("tkn_eastsonybmg", "/MySpaceMusic/PopUpPlayer-SonyBMG,21500006", "300x40");
</script>

</div>
</td>
</tr>

<tr class="pompcmslayouttr2">

<td>


<div class="pompcmslayouttr2td1div">



<div id="MusicPlayer">



<script type="text/javascript" src="http://js.myspacecdn.com/modules/musicv2/static/js/musicplayer_ailyidp3.js"></script>





<div id="musicFlashPlayerContent" style="width: 100%; height:485px;">
</div>

<div id="tkn_trackingpixelsonybmg"></div><script type="text/javascript">
sdc_wrapper("tkn_trackingpixelsonybmg", "/MySpaceMusic/PopUpPlayer-SonyBMG,21500006", "x77");</script>


</div>

</module>

</div>
</td>
<td>

<div class="pompcmslayouttr2td2div">


<div class="pompcmslayouttr2td2div1">



<script type="text/javascript" src="http://js.myspacecdn.com/modules/musicv2/static/js/friendactivity_dcchjp-u.js"></script>

<div id="FriendActivity">
<h5 class="activityHeading">
<div>Artist Update</div>
</h5>
<div id="feedResult" class="divResult"></div>

</div>
</module>
</div>
<div class="pompcmslayouttr2td2div2">

<div id="tkn_medrecsonybmg"></div><script type="text/javascript">
sdc_wrapper_refresh("tkn_medrecsonybmg", "/MySpaceMusic/PopUpPlayer-SonyBMG,21500006", "x14", 30);</script>

</module>
</div>
</div>
</td>

</tr>
</tbody>
</table>

</div>
</div>


</form>





</div>






<script type="text/javascript" src="http://js.myspacecdn.com/modules/common/static/js/global__pqepthl.js"></script>



<script type="text/javascript">
if (window.switchSearchTypeTo) { switchSearchTypeTo('Music','Header'); } else {if(window.msglobalnav && msglobalnav.switchSearchTypeTo) msglobalnav.switchSearchTypeTo('Music','Header'); }
</script>

<script type="text/javascript">
if (window.switchSearchTypeTo) { switchSearchTypeTo('Music','Footer'); } else {if(window.msglobalnav && msglobalnav.switchSearchTypeTo) msglobalnav.switchSearchTypeTo('Music','Footer'); }
</script>
<script type="text/javascript">

var MusicPlayerControl = {
Height : "485",
Width : "300",
TooltipUrl: "http://music.myspace.com/index.cfm?fuseaction=music.adtooltip&friendid=2148513",
AmazonLogoutFrameURL: "http://www.amazon.com/gp/dmusic/aws/iframe/sign-out.html/ref=dm_api_ifr_so",
AmazonPrice: "http://music.myspace.com/index.cfm?fuseaction=music.purchaseOrder",
JambaUrl: "http://ace.jamster.com/myspace/?pid=8&keyword=",
ITunesUrl: "",
AllowJamba: true,
AllowAmazonInPlace: false,
SwfObjectDiv: "musicFlashPlayerContent",
PlayerType: 3,

AllOtherFlashUpgradeURL: "http://get.adobe.com/flashplayer/?promoid=BUIGP",
MacOSX_Less10dot4_Intel_FlashUpgradeURL: "http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9_ub.dmg.zip",
MacOSX_Less10dot4_PowerPC_FlashUpgradeURL: "http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.dmg",
WinME98_IE_FlashUpgradeURL: "http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9_ax.exe",
WinME98_Netscape_FlashUpgradeURL: "http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.exe",
Linux_FlashUpgradeURL: "http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz",

FlashUpgradeMarkup: '<div id="flashUpgradeBig" class="flashUpgradeDiv" ><h1 id="flUgH1">Get Flash now!</h1><p id="flUgP">In order to listen or view this content you will have to upgrade your version of Flash.</p><a href="{0}"><img id="flUgImg" src=' + 'http://x.myspacecdn.com/modules/musicv2/static/img/flash_logo_player.jpg' + '></img></a></div>',
FlashUpgradeEnabled: true,
IsPixelPlayer: false,
NeedUpgrade: false,
EmbedHandlerURL: "http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=3,ap=1,plid=2240,artid=1236250,profid=2148513,sindex=-1.3,shuffle=false,sseed=0,amix=false,pmix=false,stime=80.508,rpeat=false",
PlayerVersion: "9.0.159",
PlayerBgColor: "&#035;101010",
ResourcesGetFlash: '<blockquote>Oops! In order to listen to this, you will need to enable JavaScript and install Adobe Flash 9 or greater. <a href="http://www.macromedia.com/go/getflashplayer/" >Get Flash now!</a></blockquote>'
};

FlashUpgrade.Init();


</script>
<script type="text/javascript">

var PurchaseExperience =
{
Greeting: "Great Choice.",
Instructions: "Download <span id='poBoldText'>{0}</span> by <span id='poBoldText'>{1}</span> so that you can take the song with you anywhere you go.",
MusicCategory: "Download MP3's at:",
RingtonesCategory: "Choose MP3 quality tones at:",
AlbumOnlyWarning: "This song is only available through an album purchase.",
For: "for {0}",
Close: "close",
Ringtones: "Ringtones"
};

</script>
<script type="text/javascript">
MySpace.BeaconType = "image";
MySpace.BeaconData={"dsid":"2","dsv":"1","rd":"","rqs":"","refpg":"","rpf":"","d":"music.myspace.com","qs":"fuseaction=music.popupplayer&sindex=-1.3&shuffle=false&amix=false&pmix=false&plid=2240&artid=1236250&profid=2148513&friendid=2148513&sseed=0&ptype=3&stime=80.508&ap=1&rpeat=false","pf":"PopUpPlayer","fa":"music.popupplayer","pgnm":"--__--MusicV2--__--popupplayer.aspx","cip":"1243904728","pc":"en-US","pid":"-7163106927599495837","pidf":"0","ABtd":"0","t":"1252538465472","ct":"1252538465472","ci":"Rosemount","st":"MN","co":"US","dmac":"613","uff":"0","uatv":"Firefox 3.5.2","sip":"170659568","uid":"212914015","pggd":"c49b0968-c81f-4a69-b378-00200fa34fa6","prid":"2148513","ili":"1","at":"7","cfv":"0:0:0","cef":"0","sliu":"0","pref":"0","kvp":"bt=2&"}
MySpace.BeaconAddress="http://b.myspace.com/~myspace/beacon/b.ashx?";
if (MySpace.Beacon) MySpace.Beacon.SendPageBeacon();

</script>




<script type="text/javascript">MySpace.Application._raiseDOMloaded();</script>

</body>
</html>


Laur€ns

2009-09-13 17:45:19

This is just the HTML/javascript source, you can't do anything special with it afaik.

JPHamlett

2009-09-13 20:29:55

so i cant get it to play my music that i wrote?