I am trying to embed an mp3 audio file into my rich text editor, i have tried a number of things including trying to extend the rte through the TinyMCE config file but cannot seem to get a solution.
Ideally i want to be able able to embed an mp3 players into my rte to play audio files through my site.
Can you stick it in to Soundcloud? If so then you can just use the built in embed functionality. Alternatively anything that supports oembed can be setup (see /config/embeddedmedia.config).
Other options would be to create your own embed provider (e.g. Umbraco.Web.Media.EmbedProviders.Twitgoo) or more likely create a macro or grid editor (if you're using the grid) that plays if using a JS plugin such as http://kolber.github.io/audiojs/
Thanks for getting back to me, i have explored the other options such as Soundcloud (but i am trying to keep it as in-house as possible), HTML5 tags etc however the main problem i have is, I want the mp3 player to appear next to the text within the RTE.
Worst comes to worst i can separate it out and have different markup specifically for the player. I was just exploring the options of potentially having this along side content within the RTE.
I will maybe try and create my own embed markup and see if that works.
Mp3 embed into rte?
Hey Guys,
I am trying to embed an mp3 audio file into my rich text editor, i have tried a number of things including trying to extend the rte through the TinyMCE config file but cannot seem to get a solution.
Ideally i want to be able able to embed an mp3 players into my rte to play audio files through my site.
Thanks Dale
Can you stick it in to Soundcloud? If so then you can just use the built in embed functionality. Alternatively anything that supports oembed can be setup (see /config/embeddedmedia.config).
Other options would be to create your own embed provider (e.g.
Umbraco.Web.Media.EmbedProviders.Twitgoo
) or more likely create a macro or grid editor (if you're using the grid) that plays if using a JS plugin such as http://kolber.github.io/audiojs/Or one of these packages:
Setting your own embed markup looks easy!
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Media/EmbedProviders/Twitgoo.cs
Depending on how much control you want, you could always just use the HTML5 Audio tag. http://caniuse.com/#feat=audio
Hi David,
Thanks for getting back to me, i have explored the other options such as Soundcloud (but i am trying to keep it as in-house as possible), HTML5 tags etc however the main problem i have is, I want the mp3 player to appear next to the text within the RTE.
Worst comes to worst i can separate it out and have different markup specifically for the player. I was just exploring the options of potentially having this along side content within the RTE.
I will maybe try and create my own embed markup and see if that works.
Thanks Dale
Creating your own Embed provider looks pretty simple and Audio JS is easy too. If you get it working perhaps you could post the code here? Good luck.
is working on a reply...