General Support: Embeding an mp3
I am having problems embeding an mp3 to a page, I have uploaded an mp3 to my the assets folder, but whatever way I try to embed the file including manually entering HTML I cant get it to play.
Have you tried converting the file to *.ogg? mp3 is not compliant with world wide web standards so I do not think it will work without using a widget of some sort.
Yes i have tried that. when i use the embed media button and the choose an audio file from my assets. Nothing seems to happen.
Hi - I have had a play with this and discovered:
- TinyMCE was stripping out the <audio> tag that the Media button was adding. I have now corrected this.
- Although the Media button allows you to specify several versions of the file (e.g., MP3 and Ogg), TinyMCE rewrites the HTML in such a way to prevent any of the alternatives being used by the browser.
MP3 is supported by IE9+ and Safari, and Ogg is supported by Firefox.
So, for an easy life, perhaps just use the MP3 version. If you want to support Firefox too then have two widgets, or use the manual HTML editing version - though this latter option is for advanced webmasters only! :-)