Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    mp3 player issues

    I'm using this mp3 player..

    http://flash-mp3-player.net/players/maxi/

    with this script

    object class="playerpreview" type="application/x-shockwave-flash" data="mp3_player.swf" height="20" width="200">
    <param name="FlashVars" value="config=bestofme_mp3.txt">
    </object>


    and this txt file

    Code:
    mp3=/music/test.mp3
    showinfo=0
    showstop=1
    showvolume=1
    width=300
    height=30
    sliderwidth=20
    sliderheight=10
    buttonwidth=30
    bgcolor=461A11
    bgcolor1=461A11
    bgcolor2=461A11
    buttoncolor=ffffff
    buttonovercolor=ffffff
    slidercolor1=ffffff
    slidercolor2=ffffff
    sliderovercolor=ffffff
    autoplay=1
    loop=1
    if I use it with mp3=/music/test.mp3 it works fine.

    Say I'm already in domain.com/2011 where the html file is.

    if I wanna go up a folder to link to music file (back to domain.com) for the mp3 instead of having to make multiple /music folders for year and use

    mp3=domain.com/music/test.mp3 it doesn't work, any ideas?

    Thank you!

  • #2
    New to the CF scene
    Join Date
    Nov 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Not sure how it didn't get put in the code thing

    Code:
    <object class="playerpreview" type="application/x-shockwave-flash" data="mp3_player.swf" height="20" width="200">
    <param name="FlashVars" value="config=bestofme_mp3.txt">
    </object>

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,274
    Thanks
    28
    Thanked 271 Times in 265 Posts
    Quote Originally Posted by crashintime View Post
    if I use it with mp3=/music/test.mp3 it works fine.
    This URL already does what you're requesting. /music/test.mp3 means "start at the root directory, look for a music directory within it, and get the test.mp3 file".
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    crashintime (11-02-2013)

  • #4
    New to the CF scene
    Join Date
    Nov 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Oops, I hadn't realized I put /music, hadn't tried that it worked :/

    Thanks, sorry I'm bad lol


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •