Audio Player does not appear

jsulmar - September 30, 2009 - 01:38

Related: http://drupal.org/node/133897, applies to Drupal 5.

I installed the audio module and uploaded an mp3 file. When I view the audio node, the player does not appear and I cannot play the file. I see the node's title, Submission info, Body, Filesize and a link for downloading the file (downloading works OK). But there is no player visible and I have not figured out how to play the file. Thanks in advance for any help you can provide.

Drupal 6.14
Audio 6.x-1.0-unstable5 (have also tried 6.x-1.x-dev)
getID3 1.7.9-20090308
Theme Bluemarine (have also tried Garland)
Administer->Settings/audio/players I've tried 1pixelout and XSPF Slim
audio/user/1 node displays as described above, but no player is visible
permissions "play audio" enabled
I have NOT installed CCK

Notes:
when uploading an audio file, the following error message is presented: "warning: Invalid argument supplied for foreach() in /home/content/p/h/o/phoneword/html/subdomains/complimentary/sites/all/modules/audio/audio.module on line 551."

=-=

VM - September 30, 2009 - 01:56

audio.module is still considered unstable

Yes it's unstable but maybe....

jsulmar - September 30, 2009 - 12:38

Thanks, I know you are right. I was hoping I could use its basic capability to upload and play MP3s. From the release notes I guess I should have expected poor results. Do you know of other methods for Drupal 6.x for playing MP3s within the browser window? I'd also like to compose and use a playlist. Thanks for your comments.

=-=

VM - September 30, 2009 - 15:38

a content type created with CCK.module and the filefield.module, displayed in a player with the swftools.module

SWF Tools

jsulmar - October 14, 2009 - 12:42

Yes, thanks. SWF Tools with the 1PixelOut player works great for uploading and playing MP3 files. Now I need to find a way to present sets of MP3's as a playlist. Using SWF Tools and SWFObject2 player I can generate a playlist using a hard-coded PHP script, but I've not figured out how to provide a friendly UI for composing the list. Also, SWFObject2 plays the list from start to finish, but I'd like to show the playlist tracks while it's in progress, and provide a method of jumping around from track to track while it's playing. If anyone has solutions, please post them. Thanks very much.

I know that there there are a couple of related projects under development. Specifically http://drupal.org/project/media and http://drupal.org/node/22152.

=-=

VM - October 14, 2009 - 15:52

it seems to me you can create a view listing the files in a block ?

No players shown

javier1968 - October 14, 2009 - 15:32

Same here, tried everything, deleting module etc, example:

http://www.tyndall.ac.uk/audio/bob-watson-avoiding-dangerous-climate-cha...

your example

jsulmar - October 16, 2009 - 16:52

I looked at your example, and it seems that you've gotten the audio player to appear. Please post how you solved the problem. I still can't display my audio player.

hi

victor.gurung - October 27, 2009 - 11:37

Hey i do face the same problem out here. Could not able to display the player. how can i able to display the audio player in the node....
PLease help

Victor Gurung

Solution for displaying audio player

james_r_bray - October 31, 2009 - 00:18

I had the same problem and finally figured out how to get the audio player to display.

1. Go into EDIT mode of my node (page, block, etc)
2. Expand the Input Type area
3. Select PHP Code
4. Save your changes (usually by going to the bottom of the edit page and clicking the "save" button)

NOTE: If you do not have the PHP Code option in your Input Type area, it probably means you have not enabled the PHP Filter module. Go to the Modules section of your Drupal installation and enable the PHP Filter module. You should now have the PHP Code option in your Input Type area.

James R. Bray, Jr.
Technical Architect
Jaydot2 LLC
james@jaydot2.com

 
 

Drupal is a registered trademark of Dries Buytaert.