Audio
Audio, Colors, Music, Podcast, Sound, Upload
Contents
- Adding Audio Files to Your Blog
- Customizing the Audio Player
- Example of color customizations
- Default Color options
- Additional Info
Related
You can share music on your blog by uploading and linking to an audio file. To enable this feature, you will need to purchase the Space Upgrade. You can also link to audio files using a third-party service.
Adding Audio Files to Your Blog
There are 4 ways to do this:
- Upload an mp3 file* somewhere on the internet and link to it using our audio shortcode. To do this, switch to the HTML view by clicking the HTML tab above the editor. Then enter the shortcode, which looks like this: [audio ], with the address inside. For example:
[audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3]
will produce the following player:
(The recording is 5 minutes from Tom Raftery’s interview with Matt and Donncha. Check out his Podleaders site for the full interview!) - Buy the Space Upgrade. This allows you to upload mp3, m4a, wav, and ogg files to your blog. To upload the file, click on “Add New” under the Media icon in the sidebar of your dashboard and select the file from your computer. When inserting into a post, make sure to click the None button for Link URL and then click the Insert into Post button. If your file is an mp3 file, this will insert the audio player shortcode into your post or page.

- Create a download link to a file elsewhere, which will require your readers to play it on their own machines. If you are uploading or linking to any file, please respect all copyright.
- Embed the SoundCloud Audio Player. This will produce the following player:
Customizing the Audio Player
Audio player with default colors
[audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3]
Example of color customizations
[audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3 |bg=0x0000ff|righticon=0xff0000]
(Note: Do not put a space in the code after ‘mp3′ as you see above. This was used in order to make the information wrap in the layout. The only space inside the brackets should be between ‘audio’ and ‘http.’)
Default Color options
- bg=0xF8F8F8
- leftbg=0xEEEEEE
- lefticon=0×666666
- rightbg=0xCCCCCC
- rightbghover=0×999999
- righticon=0×666666
- righticonhover=0xFFFFFF
- text=0×666666
- slider=0×666666
- track=0xFFFFFF
- border=0×666666
- loader=0×9FFFB8
- bgcolor=0xFFFFFF
In order to use the audio player and upload music to your blog, you will need to purchase the Space Upgrade.
Additional Info
- Please note that if you copy and paste the above code into your visual editor, it will result in errors because there are a few HTML tags within the brackets that are needed so that we can actually display the code (as opposed to the audio player).
- There should be a space between audio and http.
- Only mp3 audio files can be played on the WordPress audio player. This is a Flash limitation.
- The audio player expects the file to be encoded at 44.1kHz
Last modified: November 1, 2009
Help us improve:
We're always looking to improve our documentation. If this page didn't answer your question or left you wanting more, let us know! We love hearing your feedback. For support, please use the forums or contact support form. Thanks!
