I recently purchased the commercial extension Random Player. It is suppose to read audio files from the server to create a playlist. No matter what I try it does not load any audio files. My audio files from the my root directory of the webserver are located in /test/mp3/. The file naming convention for the audio files is Artist-SongTitle.mp3. According to the docs the image files must be named the same except for the extension. This is what I did
Audio Directory; "/test/mp3" (no quotes) I had 2 audio files Rock-Song1.mp3 and Rock-Song2.mp3 with images Rock-Song1.jpg & Rock-Song2.jpg.
no matter what happens nothing loads. All I get is "$pathname$filename".
Has anyone used this extension using the build playlist from a folder on the server? If so could you help me out.
I have used the software for 7 years and I have never had an issue with anything WWWB. Love the software. My other 3rd party play works fine and
basically does the same thing. Thought $5 for extension was worth a try.
Random Player Extension file processing not working.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
-
-
- Posts: 4
- Joined: Wed Aug 07, 2024 9:14 pm
- BaconFries
-
- Posts: 5531
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Random Player Extension file processing not working.
Are you using the absolute path for the file? Also note file names may be case sensitive on the server so use lowercase rather than upper.
Example:
Artist-SongTitle.mp3
artist-songtitle.mp3
Path Example:
https://yourweburl.com/test/mp3/yourmp3.mp3
See the following:
How do I name my pages, images and other files?
Example:
Artist-SongTitle.mp3
artist-songtitle.mp3
Path Example:
https://yourweburl.com/test/mp3/yourmp3.mp3
See the following:
How do I name my pages, images and other files?
Re: Random Player Extension file processing not working.
Are you sure the specified folder is correct?
The folder should be relative to the current folder.
So, if the page is in the root and the files are in 'mp3', then you should use ./mp3
Also, the page extension should be 'php', otherwise the server will not process the code.
The folder should be relative to the current folder.
So, if the page is in the root and the files are in 'mp3', then you should use ./mp3
Also, the page extension should be 'php', otherwise the server will not process the code.
-
-
- Posts: 4
- Joined: Wed Aug 07, 2024 9:14 pm
Re: Random Player Extension file processing not working.
Your demo page for the extension demo is html.
Yes I used relative patching. So if my path to the mp3 is
/test/mp3 from root and my website is in the test directory
I should enter .,/test/mp3 I tried both that and ./mp3 neither worked. My other player is from code canyon Tean's and it works fine. I will try the php extension but I have a one page site so that would be my index.html page so I have to jump through other hoops. Bacon fries said to use absolute path your thoughts on that.
Yes I used relative patching. So if my path to the mp3 is
/test/mp3 from root and my website is in the test directory
I should enter .,/test/mp3 I tried both that and ./mp3 neither worked. My other player is from code canyon Tean's and it works fine. I will try the php extension but I have a one page site so that would be my index.html page so I have to jump through other hoops. Bacon fries said to use absolute path your thoughts on that.
Re: Random Player Extension file processing not working.
What is the URL of the page?
And what are your exact settings of the extension?
The path should be relative. An absolute path will probably not work because of security restrictions of the server.
Note: the extension of the page must be PHP otherwise it will not work. The script will not be processed by the server if you use .html.
And what are your exact settings of the extension?
The path should be relative. An absolute path will probably not work because of security restrictions of the server.
Note: the extension of the page must be PHP otherwise it will not work. The script will not be processed by the server if you use .html.
-
-
- Posts: 4
- Joined: Wed Aug 07, 2024 9:14 pm
Re: Random Player Extension file processing not working.
Understand the extension must be php. Hostgator supports using embedded php with a file extension of html but I have to make a change to my htaccess file. They recommend not doing that. So I will change the extension and let you know. I never had to do this before because all my php scripts I use are in a called library file so they are external to the html files. Thanks for your help.
-
-
- Posts: 4
- Joined: Wed Aug 07, 2024 9:14 pm
Re: Random Player Extension file processing not working.
It is working now. Changed the html to php and it is now working. Thanks for your help. No matter how long I do this I always learn something new. This is the first time in 40 years of software development that I dealt with php within html. I have always called php scripts externally. It is always a good day when you learn something new. Thanks Palo. Sorry to waste your time on something so basic.
Re: Random Player Extension file processing not working.
I think is pretty common to use PHP as part of the page. Otherwise you will have to use an inline frame which will add extra page loads.This is the first time in 40 years of software development that I dealt with php within html