And then you need to write some Razor to pull out the data from Umbraco, for the player I think that you could use the HTML5 Audio tag, try to see how it´s configured http://www.w3schools.com/html/html5_audio.asp
As I said you could have your mp3 files stored in the media section in Umbraco, and let the user pick it by using the media picker. If you choose this way make sure to add the mime types in the web.config so you don't have to worry about the server settings for these. Have a look at this blogpost http://madskristensen.net/post/prepare-webconfig-for-html5-and-css3
Embedding mp3s on a Content page
I am having trouble figuring out how to add embed mp3s onto a inner page.
Is there a package I need to install?
What is the easiest way to go about doing this?
I just need the ability to embed a playable mp3 file on a inner content page and it be playable upon click.
Thanks in advance!
Hi m4jOr,
If you are using Umbraco 7, then one way that I see that you could do it is by on the document type for the page where you need to have your mp3 player you could add a property of the media picker, and then the user can pick one or multiple mp3 files,http://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/Built-in-Property-Editors-v7/Media-Picker
And then you need to write some Razor to pull out the data from Umbraco, for the player I think that you could use the HTML5 Audio tag, try to see how it´s configured http://www.w3schools.com/html/html5_audio.asp
As I said you could have your mp3 files stored in the media section in Umbraco, and let the user pick it by using the media picker. If you choose this way make sure to add the mime types in the web.config so you don't have to worry about the server settings for these. Have a look at this blogpost http://madskristensen.net/post/prepare-webconfig-for-html5-and-css3
Hope this helps, and make sense,
/Dennis
is working on a reply...