Creating a Drupal MP3 player with the Dash Media Player

This tutorial will go over the steps to reproduce what I did in my Audio Showcase. Please note that this only applies for Drupal uses with the Dash Media Player.

 

Enable MP3 uploads to your Drupal website

  • The first step is to enable the upload of MP3 files. You can do this by going to Administer >> File Uploads, and then under Default permitted file extensions, you need to add the extension mp3
  • Also do the same thing in the Settings for ... for any other user roles that you have in your system.

Enable the required Drupal Modules

The next step is to install all the modules used in this tutorial. Make sure you install the following...

Create the Audio Content Type

  • The next thing you will need to do is create a node type that will house your Audio nodes. You can do this by using CCK module. Once you have this module installed, you can then go to Administer >> Content Types, and then click on the link that says Add Content Type.
  • You will want to give your new content type a Name of "Audio" and a Type of "audio".
  • Now make sure you go down to where it says Attachments and then make sure you enable attachments for this node type.
  • Now go down to where it says Image Attach and make sure you enable the attachment of images to your audio node. This will make it so that you can add album art to your music.
  • Now go down and press Save Content Type

Set up your Audio View

Now that you have the content type set up, the next important step is to create a view that the player will use to show all the audio nodes. You do this by first going to Administer >> Views

Download the Audio Pro skin for Dash Media Player

The next step is to download the Audio Pro skin by going to http://www.tmtdigital.com/node/694. The skin is free to download and use. Once you have the skin downloaded, you will then need to extract the contents within the skins folder in your Dash Player folder. When you are done, you should then have the skin.swf file located at skins/audiopro/skin.swf

Adding the audio player to a node

Now that you have your site configured to add audio nodes to your Drupal system, the next step is to install the player to show the audio playlist. You will do this by first going to Create Content >> Page and then in the body, you will paste the following PHP code....

<?php
$params
['width'] = 520;
$params['height'] = 111;
$params['skin'] = 'audiopro';
$params['playlist'] = 'audio';
$params['autostart'] = 'true';
print
dashplayer_get_player($params);
?>

Now make sure that you enable the PHP Code in the Input Format of the body and then go down and press Submit to save the node.

Start adding the music!!

Now it is time for the fun part... to start adding the music!

  • Go to Create Content >> Audio
  • Start by uploading your MP3 by going to File Attachments in the node and then make sure you Attach your music to the node
  • While that is uploading, go ahead and select your album art by going to Attached Image and then select the image you would like to have associated as the album art.
  • Finally, go up and give your MP3 a title.
  • Make sure that the MP3 has finished uploading, and when it has, go down and press the Submit button.
  • Now go check out your player... you now have your very own MP3 player built into your website!!


The amazing feature in that

The amazing feature in that is “Allows you to have the play list separate from the player on the page but it act as ONE player!” Just can’t imagine… a media player whose content is driven by the power and flexibility of Drupal. Magazine subscriptions

I could not get this module

I could not get this module to work. Coincidentally, the first time I tried it was the night before the current release. After updating, the "add player" showed up. But... it never showed up in the "player list."

regards,
link building

This videocast shows you how

This videocast shows you how you can easily install MP3 Player along with Content and FileField. All in all it takes just two minutes from a clean drupal install to getting MP3 Player working in your site.

hottubs

We are also interested in a

We are also interested in a 'simple' mp3 player module so that users can create it's own playlist and upload mp3 files to its own folder.
---------------------------------------
David from Online Poker

Several weeks ago I took a

Several weeks ago I took a fairly in-depth look at the current video streaming options available for Drupal 6. Shortly after I published the article, a new product entered the market - Dash Media Player. Dash Player is the creation of Travis Tidwell from TMT Digital, also the developer of the FlashVideo module for Drupal.

regards,
goji berry juice

I want to upload some of mp3

I want to upload some of mp3 tracks to druple site i will try following your method and lets hope it works well .

Indianapolis Web Design

well thanks a lot for

well thanks a lot for detailed and step my step methodological approach it really did help me .

custom essay

Can I use Dash Media player

Can I use Dash Media player with Darwin Server? If yes, how do we get the playlist from Darwin server to play? Thanks in Advance

Not support other language in Playlist

Hi,

I 'd like to create the playlist for the song with Chinese titles. But it did not show up, could you advise how to fix this issue (song title with language other than English?)

One of my friends tried to

One of my friends tried to keep song in his site in which people may listen a song while they are reading. But he can't do that so he will really like this, I will tell him.
--------
coupon codes

This is exactly what i was looking for

Thanx you sharing it to us. Your tutorial is very clear and easy to follow. Now I can have the improvement. Keep it up. Many many thanx

cheap music download

i am soon gonna try

i am soon gonna try uploading my favorite mp3 tracks to site , it would be really nice if it works well .

jordans||Replica Louis Vuitton Handbags

That's good news!

I really appreciate your post. Thanx for sharing it to us. It's really informative and useful!!
One of my friends tried to keep song in his site in which people may listen a song while they are reading. But he can't do that so he will really like this, I will tell him.
sulumits retsambew

Wow ! excellent stuff its a

Wow ! excellent stuff its a great idea to hear music i love it .

free mp3 music download

Amazing information! I did

Amazing information!

I did not know you could make an mp3 player!

Thanks :)

---
contratar magos

Player Showing - MP3 not playing

I've taken this off the site. I put in a good effort but can't make it work. Thanks anyways.

Passing media file paths to the Dash Player using CCK

Does the method involved in passing video file paths to Dash Player the same as in audio files (and its image as well?)

Thanks.

Player not loading audio

Thanks for the tutorial!

Having some trouble getting it to work though. The dash player is showing and the view is returning my audio nodes but when i try to view the player it just sits and doesn't add the songs into the player. Any ideas?

This is most likely a

This is most likely a service connection issue. Have you verified all the correct settings in your dashconfig.xml file?

config and noob error

Thanks for the quick reply.. got it up and running now!

Would be good...

I'm having the same problem. As far as I can tell I followed the steps correctly, but there's obviously some detail I misunderstood. Maybe it would be good if people could say how they fixed their problems? Please let me know if you have any input.

I see a player on test page,

I see a player on test page, but i can't see mp3 files in it

I think I've got a troubles with DynDNS service: adress of my localhost site is http://drupal.homeip.net

My dashconfig.xml is

<params>
<license><!-- Enter your License here --></license>
<gateway>http://drupal.homeip.net/services/amfphp</gateway>
<apiKey>112d81d2bc0f04abfc32dbbd2d625de1</apiKey>
<baseURL>http://drupal.homeip.net</baseURL>
<flashvars></flashvars>
</params>

Is it correct for my domain?

P.S. Drupal 6.10

Syndicate content