Multimedia in WordPress: Audio
WordPress supports a variety of multimedia. In this tutorial I will briefly address embedding audio into your posts and pages.
Here’s the first and easiest way to do it:
1. Use your left-hand menu in WordPress to add or edit a page or post.
2. Click in your content where you want the player to appear then hit “Add Media” on the top-left above the content editor
3. Click “Upload Files”.
4. Choose an audio file to upload from your hard-disk (.mp3, .mp4, .aac, etc).
5. Make sure the file you uploaded is selected then under Attachment Display Settings set Embed or Link to “Embed Media Player”.
6. Click “Insert Into Page”.
You’re all done. WordPress will have inserted a shortcode for your audio or video in your editor, and when you visit your post or page that code will be replaced with the player like this one:(Rebuild, by Switchfoot & Relient K)
If you use a free online audio sharing service like Soundcloud, adding audio clips to your website is very similar to embedding a Youtube or Vimeo video. Soundcloud has become incredibly popular, recently expanding to 40 million global users, and you would be hard pressed to find a more flexible audio sharing platform. To upload your own audio, go to Soundcloud.com and create your own free account, upload your audio content, and generate an embed code like this one below:
(put the following code in brackets in the Text editor, and note that you may need to use the WordPress code)
<iframe width=”100%” height=”166″ scrolling=”no” frameborder=”no” src=”https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/97993626&color=ff6600&auto_play=false&show_artwork=true”></iframe>
That’s all there is to it