Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to do previews for audio files in the base, Magento Community Edition? I see the place to put the "sample" files under "Downloadable information" section on my product. I attached an .MP3 as the sample, in this case, and it won't play. If alternatively, I try to download the file locally and then play it, instead of the 400K+ file, I just get a 4K file of garbled nothing, and it doesn't seem to work.

share|improve this question
up vote 4 down vote accepted

The behavior you've described sounds as though it may be an issue with Magento (in which case you may want to inquire at the Magento user forum or file a bug report).

Whether or not Magento supports native MP3 sample streaming, your site's users can play the sample MP3 files in the audio player of their choice (without an embedded Flash player or reliance on HTML5) if you create M3U files which point to the respective URLs of the uploaded samples.

For example, if you have a sample file named "test.mp3", you would want to upload that file to a location like http://example.com/samples/test.mp3 and create an M3U file which references that URL:


Users who download the M3U file will be prompted (if they have a compatible audio player installed) to open the M3U file and stream the http://example.com/samples/test.mp3 sample in their audio player.

share|improve this answer
This is a really cool solution. I think I'm going to wind up modifying the Magento product page so I can get an embedded player (after thinking it over, that's more akin to the functionality I'm looking for), but you've definitely answered my question. Thanks! – jefflunt May 19 '11 at 13:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.