Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:15 am EST
Geeklog Forums
Using a flash mp3 player in a block...no workie..LOL
soundengineer
Anonymous
so I hve this page..
http://www.audiohelix.com/music
and teh little mp3 playe is a simple down and dirty works great player...
I tried to use it in a block..the player shows up fine...but it wont show any of the songs or any of the music..
teh way its set up is that it looks in a directory to find teh songs..
its set up as main directory has the player in it and a sub directpry labeled songs..
I just put any mp3 with an mp3 tag on it in the songs directory and it shows up in th eplayer and plays fine..
what I need to know is what directory are the PHP blocks used in so I can move the songs directory to that directory so I can play music
http://www.audiohelix.com/music
and teh little mp3 playe is a simple down and dirty works great player...
I tried to use it in a block..the player shows up fine...but it wont show any of the songs or any of the music..
teh way its set up is that it looks in a directory to find teh songs..
its set up as main directory has the player in it and a sub directpry labeled songs..
I just put any mp3 with an mp3 tag on it in the songs directory and it shows up in th eplayer and plays fine..
what I need to know is what directory are the PHP blocks used in so I can move the songs directory to that directory so I can play music
21
17
Quote
soundengineer
Anonymous
nobody knows???
my mp3 player just looks at a directory under the main one called songs...
so what directory do I need to move teh songs diretory in my geeklog home so that my mp3 player will work??
what is teh home directory of custom non php blocks for xml reasons??
my mp3 player just looks at a directory under the main one called songs...
so what directory do I need to move teh songs diretory in my geeklog home so that my mp3 player will work??
what is teh home directory of custom non php blocks for xml reasons??
18
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The blocks don't have a "home directory". They are a part of the page that's currently displayed and a such, that page's URL / path is also the current URL / path for the block.
In other words: Make sure you're using an absolute path or absolute URL (whatever your player requires) to access your "songs" directory.
bye, Dirk
In other words: Make sure you're using an absolute path or absolute URL (whatever your player requires) to access your "songs" directory.
bye, Dirk
15
15
Quote
All times are EST. The time is now 11:15 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content