| Author |
Topic Search Topic Options
|
numanme
Senior Member
Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 2:24am |
Love to see this working I was trying to add a pop button to the mp3 player to give the option to carry on listing and surfing the rest of the site, but I cant do it
|
 |
numanme
Senior Member
Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 2:27am |
Did I mention the player works from a play list very easy to edit you just add some links and text and you’re a way, get most of my links from http://search.singingfish.com/sfw/home.jsp
|
 |
javi712
Senior Member
Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 2:28am |
|
hi numanme... i'm going to give it a try again to see if it works now
maybe the popup might work with javascript... let me get it working first and then we'll go from there to see if we can get it to pop up
|
 |
jckruger
Groupie
Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 3:34am |
Mine didn't work until I changed the code from this line 118
<table border="0" width="13%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="200" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="mp3player.swf" /> <param name="wmode" value="transparent" /><embed src="mp3player.swf" wmode="transparent" width="300" height="200" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </noscript> <script language="JavaScript" type="text/javascript" > <!-- AC_RunFlContentX ("movie", "mp3player", "quality", "high", "bgcolor", "#000000", "src", "mp3player", "width", "300", "height", "200", "name", "mp3player", "id", "mp3player" ); //--> </script> </td>
|
To this
<table border="0" width="100%" cellspacing="5" cellpadding="0"> <tr> <td width="100%"> <table border="0" width="13%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="200" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" > <param name="movie" value="http://serverpath/mp3player.swf" /> <param name="flashvars" value="config=http://serverpath/config.xml&file=http://serverpath/playlist.xml" /> <embed src="http://serverpath/mp3player.swf" width="300" height="200" name="mp3player" flashvars="config=http://serverpath/config.xml&file=http://serverpath/playlist.xml" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <script language="JavaScript" type="text/javascript" > <!-- AC_RunFlContentX ("movie", "mp3player", "quality", "high", "bgcolor", "#000000", "src", "mp3player", "width", "300", "height", "200", "name", "mp3player", "id", "mp3player" ); //--> </script> </td>
|
Edited by jckruger - 15 September 2006 at 5:57am
|
 |
jckruger
Groupie
Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 6:46am |
To make it a javascript popup you could do this
In navigation_buttons_inc.asp add this line.
If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2 AND blnActiveMember <> "False" Then Response.Write (" <a href=""#MP3_Player#"" onclick=""javascript:window.open('mp3_pop.asp','MP3_Player','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=322,height=222')""class=""nav"" accesskey=""2""><img src=""" & strImagePath & "mp3player.gif"" border=""0"" align=""absmiddle""/>MP3 Player</a>")
|
Then create a new asp file called mp3_pop.asp or whatever you want and only put this in it. Remember to change the path of your servername.
Note: I have not tested this from a remote server just on my laptop with IIS.
If this works then post accordingly.
Please correct me if I am wrong.
Update: Actually I think it does work with the file locations being just the file and not the full internet address.
Edited by jckruger - 15 September 2006 at 7:33am
|
 |
numanme
Senior Member
Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 1:22pm |
I was trying to put the button under the player on the mp3 page
|
 |
numanme
Senior Member
Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2006 at 3:18pm |
Had a go at the pop up thing and this is what I have come up with hope it works
|
 |