Difference between revisions of "Embed Audio - WordPress"

From Help Wiki
m
m
Line 5: Line 5:
 
</div>
 
</div>
 
<div class="gradientshadow"></div>
 
<div class="gradientshadow"></div>
===If you host your file at Evergreen?===
+
===If you host your file on your site (great for shorter recordings and .mp3)===
Simply use the Add Media button when editing your post or page and upload your audio file and Insert into post. This will automatically create an embedded audio player with transport controls to play/pause your audio track.
+
#Make sure your audio file is in the .mp3 file format
 
+
#Use the Add Media button when editing your post or page and upload your audio file and Insert into post. This will automatically create an embedded audio player with transport controls to play/pause your audio track.
====Using Haiku====
+
'''[http://wordpress.org/extend/plugins/haiku-minimalist-audio-player/ Haiku]''' a minimalist audio player and perfect if all you will be hosting is mp3s and you don't want to fuss around with complicated short code.
+
Once you've activated the plugin:
+
*Use the shortcode to play an audio file.
+
<pre>[haiku url="http://example.com/file.mp3" oga="http://example.com/file.ogg" title="Title of audio file"]</pre>
+
* Use the full URL of the audio file unless you've set a default file location in the settings page.
+
*The title field is recommended for search engine and accessibility purposes.
+
'''Settings options'''
+
*The player includes the ability to automatically turn all MP3 links into an audio player instance. Simply check the "Replace all mp3 links" checkbox on the settings.
+
  
 
===Host your audio offsite at SoundCloud===
 
===Host your audio offsite at SoundCloud===

Revision as of 16:21, 30 September 2015

Blue-l.png
Using WordPress plugins it's easy to embed audio files into your site.

If you host your file on your site (great for shorter recordings and .mp3)

  1. Make sure your audio file is in the .mp3 file format
  2. Use the Add Media button when editing your post or page and upload your audio file and Insert into post. This will automatically create an embedded audio player with transport controls to play/pause your audio track.

Host your audio offsite at SoundCloud

SoundCloud Embed an audio file using SoundCloud.

Still have WordPress questions?