Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MP3 Player
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MP3 Player

 Post Reply Post Reply Page  <123
Author
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post 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     

Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post 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 ("&nbsp;&nbsp;<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.
 

<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>
 
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
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2006 at 1:22pm

I was trying to put the button under the player on the mp3 page

Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post 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

 
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.