3 replies [Last post]
silvercat@drupal.org's picture
Offline
Joined: 07/13/2008
Juice: 7
Was this information Helpful?

I'm currently working on a site for selling mp3 downloads. I have a nice setup using CCK Media field+media field display for my 30-second previews, CCK nodereferencing for album views, etc..
One really cool feature for this site would be to have popup player for all the users purchased mp3-files. I'm not sure how to implement this.

Using swftools-module for example, something like this could work:

<?php
$playlist
= swftools_prepare_playlist_data(array('file1.mp3', 'file2.mp3', 'file3.mp3'));
print
swf_list($playlist);
?>

But I'm not sure how to get the files the user has purchased into this playlist, or how to make this popup player.
Any suggestions or questions welcome

Jens

silvercat@drupal.org's picture
Offline
Joined: 07/13/2008
Juice: 7
Re: Mp3 downloads - Playlist

So basically i got this working. It's a very crude implementation with a custom block using the PHP Code filter. It's dependant on SWFTools.
I just use the uc_file.module's generated download link and tell the player that this is a mp3. Obviously this has its limitations, but it does what i need.

orangevinz's picture
Offline
Joined: 10/06/2009
Juice: 26
Hi, we did that if you're

Hi,

we did that if you're looking for build an mp3 store with ubercart and drupal ...

www.orangoo.net

gutterpunkradio's picture
Offline
Joined: 12/18/2009
Juice: 17
Re: Re: Mp3 downloads - Playlist

Hey Bro,
How are you? Not sure if you still check this account and respond oin this website but I was surfing online and found your messages. I own a D.I.Y. radio station for punk and ska music. I currently have a digital store but its not what I want. I am only able to sell digital albums on it. Not individual tracks. would you be willing to talk to me about how this software works? Hope all is well.

Cheers!!

Christopher