Welcome, Guest. Please login or register.
March 17, 2010, 04:15:52 AM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110174 Posts in 15914 Topics by 9281 Members
Latest Member: s-pax
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Flash MP3 Audio file player module
Pages: [1] 2 Go Down Print
Author Topic: Flash MP3 Audio file player module  (Read 4792 times)
jcarncross

Offline Offline

Posts: 5


« on: April 29, 2008, 07:37:08 PM »

This module essentially uses the same code as my FLV Video Module. It uses a flash player to play mp3 file from a list of links. Users can upload a thumbnail image and add a title, description, artist, and description to the entry. As with the FLV video module, I am sure that I have done many things incorrectly, please feel free to comment, correct, and test the module, so that it can be as functional as possible.
This module plays mp3 files via a flash player.

Thanks for your help and support in the development of this module
Jason
Logged
Kimmik

Offline Offline

Posts: 23


« Reply #1 on: November 04, 2008, 02:15:03 PM »

Hey thank you for this module. I improved it a little bit, here's the changelog:
Quote
   DEVELOPMENT HISTORY:
     v0.2  (Kim Kahns/Oliver Bethke; 04 November, 2008)
     + Replaced swf player
     + Included frontend.css and frontend.css admin-editor
     + backend error reducing
     + frontview now conform to w3c standards
     + changed the title-overview to a compact playlist (no thumbnails)
     
     v0.1  (Jason Carncross; 23 Apr, 2008)
     + Started the module

--- To Do ---

     + show thumbnail on playlist-item hover


Demo http://kims-area.com/wb/pages/audio.php

more to come!  wink
Logged
erpe

Offline Offline

Posts: 1733



WWW
« Reply #2 on: November 04, 2008, 02:57:22 PM »

Hi

nice module.
I tested this module on my testpage.
No errors during installation, but 1 (same) error message in the front- and backend:
http://www.rvb.bplaced.net/pages/player/testaudio.php

rgds

erpe

Edit: I cannot delete the "delivered and installed" mp3 file
Logged

Olli

Offline Offline

Posts: 222


« Reply #3 on: November 04, 2008, 04:04:02 PM »

make sure your upload filesize is set correctly if you are talking about files not showing up.

that bug inside the admin area about false/empty entries will be fixed shortly. nevertheless you can use it with no worries. the empty entries are not visible on the frontend view and do not harm the functionality.
« Last Edit: November 04, 2008, 04:10:45 PM by Olli » Logged
erpe

Offline Offline

Posts: 1733



WWW
« Reply #4 on: November 04, 2008, 04:20:38 PM »

Thank you for information.

rgds

erpe
Logged

jcarncross

Offline Offline

Posts: 5


« Reply #5 on: November 04, 2008, 04:49:17 PM »

Thank you all for working to improve this module. I appreciate the input and expertise that you all bring to my little experiment.

Thanks again
Jason
Logged
Kimmik

Offline Offline

Posts: 23


« Reply #6 on: November 04, 2008, 07:59:49 PM »

Hi

nice module.
I tested this module on my testpage.
No errors during installation, but 1 (same) error message in the front- and backend:
http://www.rvb.bplaced.net/pages/player/testaudio.php


I don't really know what causes this notice to appear
"Notice: Undefined variable: setting_footer in /users/rvb/www/modules/audioplayer/view.php on line 158"
Maybe your php error reporting is set too aggressive.
Go to websitebaker admin > settings > show advanced > and select "PHP Error Reporting Level: E_ALL or Sytemdefault or none".


Logged
erpe

Offline Offline

Posts: 1733



WWW
« Reply #7 on: November 04, 2008, 08:14:27 PM »

Hi

level is at E_ALL.
Changing it to NONE cannot be the solution.
But it works though the error message appears.
Would be better, if the message disappears.

rgds

erpe
Logged

doc

Offline Offline

Posts: 3579


« Reply #8 on: November 04, 2008, 08:26:56 PM »

Hello,

the PHP warning is caused by the undefined variable $setting_footer in line 158 of view.php. The variable is not declared in the view.php and not included from another file. Commenting out that line should do the trick unless I miss something.

Regards Christian
Logged
Olli

Offline Offline

Posts: 222


« Reply #9 on: November 04, 2008, 08:51:31 PM »

php notice is gone now...

Logged
Vincent

Offline Offline

Posts: 314


WWW
« Reply #10 on: November 04, 2008, 09:02:54 PM »

Very nice, thanks for sharing.

It would be nice if some things could be added:
- possibility to change (or remove) the header text ('now playing')
- possibility to change the colours of the player.

Up til now I used the MP3 Playlist (http://www.websitebaker2.org/forum/index.php/topic,5563.0.html) module (which had above described optins), but this one is much easier to use.

Regards,
Vincent
Logged
Kimmik

Offline Offline

Posts: 23


« Reply #11 on: November 06, 2008, 04:51:38 PM »

Quote
   DEVELOPMENT HISTORY:
    v0.22  (Kim Kahns; 06 November, 2008)
    + show thumbnail on playlist-item hover

    v0.2  (Kim Kahns/Oliver Bethke; 04 November, 2008)
    + Replaced swf player
    + Included frontend.css and frontend.css admin-editor
    + backend error reducing
    + frontview now conform to w3c standards
    + changed the title-overview to a compact playlist (no thumbnails)
   
    v0.1  (Jason Carncross; 23 Apr, 2008)
    + Started the module


Demo kims-area.com/wb/pages/audio.php
Download audioplayer-0.22.zip
Logged
Roon

Offline Offline

Posts: 7


« Reply #12 on: November 13, 2008, 10:28:59 PM »

I have a problem using this module.
I've added it and uploaded songs, but nothing will show on my page.
http://www.roon.ws/pages/mp3.php  <- direct link to the page.
I can't find it out myself.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 5552


WWW
« Reply #13 on: November 14, 2008, 08:29:28 AM »

The page is not completely rendered so there is some error. Please switch on error reporting and then the error(s) should show.

cheers

Klaus
Logged

http://www.weitzel.biz
PM has been disabled
Olli

Offline Offline

Posts: 222


« Reply #14 on: November 14, 2008, 06:18:51 PM »

@roon: please try to privide as much information if you can about the error and me and kimmik will fix it.

what kind of php version do you have got? please turn on php error reporting as kweitzel suggested and tell us about the error.

just noticed your page has a lot of errors and your doctype is not valid. please try to fix them to see if this helps.

use sth. like this and please note it is case sensitive

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

thank you
« Last Edit: November 14, 2008, 06:29:17 PM by Olli » Logged
Roon

Offline Offline

Posts: 7


« Reply #15 on: November 14, 2008, 07:28:46 PM »

This is the message that comes when i turn it on.
Quote
Notice: Constant DB_TYPE already defined in /home/roon85/public_html/config.php on line 3

Notice: Constant DB_HOST already defined in /home/roon85/public_html/config.php on line 4

Notice: Constant DB_USERNAME already defined in /home/roon85/public_html/config.php on line 5

Notice: Constant DB_PASSWORD already defined in /home/roon85/public_html/config.php on line 6

Notice: Constant DB_NAME already defined in /home/roon85/public_html/config.php on line 7

Notice: Constant TABLE_PREFIX already defined in /home/roon85/public_html/config.php on line 8

Notice: Constant WB_PATH already defined in /home/roon85/public_html/config.php on line 10

Notice: Constant WB_URL already defined in /home/roon85/public_html/config.php on line 11

Notice: Constant ADMIN_PATH already defined in /home/roon85/public_html/config.php on line 12

Notice: Constant ADMIN_URL already defined in /home/roon85/public_html/config.php on line 13

Notice: Constant PAGE_ID already defined in /home/roon85/public_html/framework/class.frontend.php on line 156

Notice: Constant PAGE_TITLE already defined in /home/roon85/public_html/framework/class.frontend.php on line 158

Notice: Constant MENU_TITLE already defined in /home/roon85/public_html/framework/class.frontend.php on line 163

Notice: Constant PARENT already defined in /home/roon85/public_html/framework/class.frontend.php on line 169

Notice: Constant ROOT_PARENT already defined in /home/roon85/public_html/framework/class.frontend.php on line 172

Notice: Constant LEVEL already defined in /home/roon85/public_html/framework/class.frontend.php on line 175

Notice: Constant VISIBILITY already defined in /home/roon85/public_html/framework/class.frontend.php on line 178

Notice: Constant PAGE_DESCRIPTION already defined in /home/roon85/public_html/framework/class.frontend.php on line 189

Notice: Constant TEMPLATE_DIR already defined in /home/roon85/public_html/framework/class.frontend.php on line 212

Notice: Constant SHOW_SEARCH already defined in /home/roon85/public_html/framework/class.frontend.php on line 265

Notice: Constant LOGIN_URL already defined in /home/roon85/public_html/framework/class.frontend.php on line 274

Notice: Constant LOGOUT_URL already defined in /home/roon85/public_html/framework/class.frontend.php on line 275

Notice: Constant FORGOT_URL already defined in /home/roon85/public_html/framework/class.frontend.php on line 276

Notice: Constant PREFERENCES_URL already defined in /home/roon85/public_html/framework/class.frontend.php on line 277

Notice: Constant SIGNUP_URL already defined in /home/roon85/public_html/framework/class.frontend.php on line 278

Fatal error: Cannot redeclare show_menu2() (previously declared in /home/roon85/public_html/modules/show_menu2/include.php:406) in /home/roon85/public_html/modules/show_menu2/include.php on line 654
Logged
Roon

Offline Offline

Posts: 7


« Reply #16 on: November 14, 2008, 08:52:44 PM »

PHP:
5.2.6

This is the version that my server has.
Logged
Olli

Offline Offline

Posts: 222


« Reply #17 on: November 16, 2008, 05:12:22 PM »

uh well, i have no idea what those errors are about to be honest. as you wrote these appear only when turining on the player module?

you have got the latest wb 2.70, right? seems there is some function call not working proberly on your system or used twice, but which one?  huh

will look at the code again tomorrow.

thanks
Logged
Roon

Offline Offline

Posts: 7


« Reply #18 on: November 17, 2008, 08:14:46 AM »

uh well, i have no idea what those errors are about to be honest. as you wrote these appear only when turining on the player module?

you have got the latest wb 2.70, right? seems there is some function call not working proberly on your system or used twice, but which one?  huh

will look at the code again tomorrow.

thanks

Yes, using Version 2.7.
Using Orange_sunset theme on my site.
I don't understand whats wrong...
My site is hosted at hostgator.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 5552


WWW
« Reply #19 on: November 17, 2008, 11:26:18 AM »

For some reason your system is calling the template twice ... do yuo have a global block or something like this?

cheers

Klaus
Logged

http://www.weitzel.biz
PM has been disabled
smitty

Offline Offline

Posts: 6


« Reply #20 on: May 13, 2009, 01:01:10 PM »

Hi

I get the next message:
Notice: Undefined index: mp3_file in /home/cosynlvv/domains/cosy67.nl/public_html/wb/modules/audioplayer/modify.php on line 121

If I install it on an other website its works fine

Jos
Logged
kirk

Offline Offline

Posts: 143


Backen macht glücklich


WWW
« Reply #21 on: May 28, 2009, 03:04:03 PM »

This is a very nice module. Thanks for it.

After some try out sessions here my report

1. description text doesn´t show up
2. thumbnail doesn´t show in the same div the module is installed.
3. After deleting a song the file still exist in the audio folder


Hope this is usefull for you and keep on it

Kirk
Logged

muecki

Offline Offline

Posts: 58


« Reply #22 on: June 15, 2009, 09:09:39 PM »

Hallo,

I made a test installation with xampp on my local pc and the player run and the thumbnail was shown. Now I installed the modul online on WB 2.7, PHP 4.4.8.. The player doesn´t run and the thumbnail is not shown.

Here ist the Link to my installation:
http://www.kirche-burscheid.de/katholisch/pages/mp3-player-testseite.php

I look for error messages, but I dont get one.

I found the error message. It is the same message as in the post from smitty above

Notice: Undefined index: mp3_file in /kunden/kirche-burscheid.de/webseiten/katholisch/modules/audioplayer/modify.php on line 121

Who can help?

Helmut
« Last Edit: June 16, 2009, 11:01:24 PM by muecki » Logged

Viele Grüße aus dem Bergischen Land.
gioweb

Offline Offline

Posts: 19


« Reply #23 on: July 19, 2009, 10:49:32 AM »

thanks! very useful!!!
It would be useful to be able to sort the songs, once loaded. grin


Logged
masarin

Offline Offline

Posts: 34


« Reply #24 on: July 31, 2009, 10:39:43 AM »

Hi, and thank you for the module.

I can modify the playlist through the front end css, but where can I modify the actual player? For example width and align.

Regards masarin
Logged
Pages: [1] 2 Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!