Free streaming audio player with download option for full loseless .flac file.

Permalink
I would like a free audio player that will accept a loseless .flac file, make a streaming .mp3 version, and allow the download of the original .flac file.

I DO NOT want recommendations for audio hosting sites. I am done with that. Too much garbage and too many restrictions. That is why I got some webhosting and installed Concrete5 in the first place.

If there is no addon, block, plugin or whatever that does this, can it be coded in HTML5 and added to my site that way? If so, how do I do this?

Alternatively, if I upload the .flac files into the Incoming folder via FTP, can I access them in Concrete's File Manager and just slop a link down for them? Throw out the preview ability?

I appreciate your help, and I am enjoying my Concrete install so far! Thank you for this awesome CMS and all your hard work!

 
DreamBliss replied on at Permalink Reply
UPDATE!

OK, so here's the deal. You will think Firefox will support .mp3. It does not. You have to have some sort of decoder for it. So the <audio> tag will work, as it accepts .mp3, but you won't be able to play it in Firefox. Your best course of action, if you want to do something like I want to do, seems to be this.

Add a new Block, select HTML, input this code:
<audio src="/relative_path_to_audio/audio_file_name.ogg" type="audio/ogg" controls="controls">
<p>Your browser does not support the audio element</p>
</audio>
<br />
<a href="http://direct_path_to_audio/audio_file_name.flac download="audio_file_name.flac">Download audio_file_name</a>

You can use 128 or 192 for your .ogg, and keep the loseless file as it is for downloading. If you don't want downloading, don't add anything after </audio> Furthermore if you want users to be able to preview a low quality file, and then purchase the higher quality file, you can place the link to the purchase page after the </audio> tag.

You may also be able to use the advanced code in Add Block/Content, but be aware that you need to change your Settings/Rich Text Editor to Advanced or Office. I am using Office right now, it has an embed media control. You can edit the HTML code there, adding and updating as needed.

I'll add more later if I have anything to add.
enlil replied on at Permalink Reply
enlil
my Enlil Mp3 Player add-on plays mp3 in firefox :)

EDIT: Your only concern for .ogg is to be compatible with Opera. .mp3 should work fine in IE Chrome and FF using the audio tag.
DreamBliss replied on at Permalink Reply
OK, so what media formats play, by default (no addons or plugins), in all browsers?
cpillz replied on at Permalink Reply
cpillz
As far as I know recent versions of Firefox will play mp3s using html5 by utilizing a system codec. Have you tried my html5 audio player basic add-on (http://www.concrete5.org/marketplace/addons/html5-audio-player-basic/)? It will play using HTML5 when it can and use flash in the background if the browser doesn't support HTML5, so it should work on pretty much every browser.

Also, you can definitely upload flac files and provide a download link using the core file block. You will probably have to add flac to the Allowed File Types list in settings at [your site]/index.php/dashboard/system/permissions/file_types/ in order to upload the file to the file manager.
DreamBliss replied on at Permalink Reply
That was a big tip about the file types! When I read that I wondered if there was some way to set them. I didn't see a file size limit though :(

I did try one of the free HTML5 players, but it never showed up in my Add Block when installed. So I gave up on it - sorry.

Still learning things, but my site is shaping up nicely. Thank you!