vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Music player on site?

[F] Music player on site? - Posted By Tim (grievous) on 5th Mar 08 at 5:19am
Theres a site, located Here and i'd like to put there music player on my site.

I have emailed them in the past asking if it was ok and they said yes.

The music player is located, Here.

Is this possible?

Re: Music player on site? - Posted By Marc (cr0w) on 5th Mar 08 at 5:22am
Unfortunately the site will only let those in the Unites States listen to it, and seeing as none of the coding staff here preside in the US, that could present a problem. {Tongue Out}

However, could you go to the page where the player is, view the source, copy it all, and paste it into a PM to me? Please use a code tag, though. {Wink}

Re: Music player on site? - Posted By Tim (grievous) on 5th Mar 08 at 5:31am
I'v got the player open in a window by itself, and I guess they have right-clicking disabled becuse it won't let me.

Re: Music player on site? - Posted By Marc (cr0w) on 5th Mar 08 at 4:21pm
 
I'v got the player open in a window by itself, and I guess they have right-clicking disabled becuse it won't let me.


Open it in Firefox and press CTRL + U. {Wink}

Re: Music player on site? - Posted By Tim (grievous) on 5th Mar 08 at 11:06pm
I don't use FF.

I use Avant.

Re: Music player on site? - Posted By Marc (cr0w) on 5th Mar 08 at 11:53pm
 
I don't use FF.

I use Avant.


There's no way I can help without having the source of the page, so you'll have to find a way to get it; whether it be through a friend or a different browser. {Unsure}

Re: Music player on site? - Posted By Tim (grievous) on 6th Mar 08 at 12:06am
Code:
 
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  4. <title>Now Streaming v1.10</title>
  5. <!-- 12CFG -->
  6. <!-- 018927 -->
  7. <style type="text/css">
  8. body {
  9.   margin: 4px;
  10.   padding: 0px;
  11.   font-family: Tahoma, Verdana, Arial, sans-serif;
  12.   font-size: 10px;
  13.   background-color: #7D8999;
  14. }
  15. td {
  16.   font-family: Tahoma, Verdana, Arial, sans-serif;
  17.   font-size: 10px;
  18. }
  19. a {
  20.   color: #FFFF00;
  21. }
  22. </style>
  23. <script type="text/javascript">
  24. function autorefresh() {
  25.   window.location = "nowstreaming.php";
  26. }
  27. var timer0 = setTimeout("autorefresh()", 227000);
  28. </script>
  29. </head>
  30. <body>
  31.   <table border="0" cellpadding="0" cellspacing="0" width="100%">
  32.     <tr>
  33.       <td style="text-align: left; vertical-align: top" width="85"><!--img src="images/nocover75.gif" border="0"--></td>
  34.       <td style="vertical-align: top">
  35.         <table border="0" cellpadding="0" cellspacing="0">
  36.           <tr>
  37.             <td style="text-align: left; vertical-align: top; font-weight: bold; color: #CAD9F0">Title: </td>
  38.             <td style="text-align: left; vertical-align: top; font-weight: bold; color: #FFFFFF">Rope The Moon</td>
  39.           </tr>
  40.           <tr>
  41.             <td style="text-align: left; vertical-align: top; font-weight: bold; color: #CAD9F0; padding-top: 2px">Artist: </td>
  42.             <td style="text-align: left; vertical-align: top; font-weight: bold; color: #FFFF16; padding-top: 2px"><a href="/iplaylist/jump.php?artist=John%20Michael%20Montgomery&song=Rope%20The%20Moon&cc=018927" target="_blank">John Michael Montgomery</a></td>
  43.           </tr>
  44.         </table>
  45.         <table border="0" cellpadding="0" cellspacing="0">
  46.           <tr>
  47.             <td style="text-align: left; vertical-align: middle; font-weight: bold; padding-top: 12px"><img src="images/download.gif" width="11" height="11"></td>
  48.             <td style="text-align: left; vertical-align: middle; font-weight: bold; padding-top: 12px"> <a href="http://click.linksynergy.com/fs-bin/click?id=34uR12oIcpQ&offerid=78941.50235030&type=15&subid=0&u1=WLLRFM" target="_blank">Buy on iTunes</a></td>
  49.           </tr>
  50.         </table>
  51.       </td>
  52.     </tr>
  53.   </table>
  54. </body>
  55. </html>
 


Re: Music player on site? - Posted By Marc (cr0w) on 6th Mar 08 at 12:16am
Hmm...could I also get a screenshot of the page, please?

Re: Music player on site? - Posted By Tim (grievous) on 6th Mar 08 at 12:20am
Note:Since it is a live radio, the title and artist do change.

Image

(click to make bigger)

Re: Music player on site? - Posted By Marc (cr0w) on 6th Mar 08 at 12:23am
Hmm, as I thought; the source you posted is just of the "Now Streaming" info. What I really need is the URL that the radio is streaming.

Give me a few minutes; I'll see if I can't get a friend down in the states to grab the embed info. {Wink}

Re: Music player on site? - Posted By Tim (grievous) on 6th Mar 08 at 12:25am
Sweet, thanks Marc

Re: Music player on site? - Posted By Marc (cr0w) on 6th Mar 08 at 12:32am
It appears that they've coded their player in a way that works only with their site; with song updates and whatnot. This is unfortunately something you'll have to contact them about.

Sorry, Grievous. {Sad}

Re: Music player on site? - Posted By Tim (grievous) on 6th Mar 08 at 12:34am
Damn.

Well you tried and I appreciate that.

Thanks Marc.

Re: Music player on site? - Posted By Marc (cr0w) on 6th Mar 08 at 2:13am
No worries. {Smile}

Let me know how it goes with getting the info, and if you need any help after that.