Creating an MP3 Voiceover Demo Download Link

Click here to download:
demo.php (0 Bytes)

Here's a quick video on how to create a download link for your mp3 or voiceover demos that automatically prompts the visitor to save it to their computer. The advantage of this technique is that it avoids an extra step for your visitor; They won't have to right-click (or CTRL+click on a Mac) and then choose to download it. More importantly, it won't open up the annoying embedded mp3 in the middle of a new or the same window. The latter is usually a result of having linked directly to your audio.

I can think of other uses for this other than serving your demo. For example, if you change the "mp3" in the PHP code to say "aif" or "wav" and create a path to a folder on your website where you store your final voiceover files for your clients, you can then simply send your client a link to that file (formatted as described in the video) that will prompt them to download it; all without having to give them an FTP login and protecting your folder at the same time since you won't be revealing it in the link.

I've attached the required php file to this post or download the ZIP'd file here.

-Anthony