Difference between revisions of "Embed Audio - WordPress"

From Help Wiki
m
m (If you host your file at Evergreen?)
Line 6: Line 6:
 
<div class="gradientshadow"></div>
 
<div class="gradientshadow"></div>
 
===If you host your file at Evergreen?===
 
===If you host your file at Evergreen?===
*'''[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.
+
'''[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.
 +
====Using Haiku====
 +
*Use the shortcode <pre>[haiku url="http://example.com/file.mp3" oga="http://example.com/file.ogg" title="Title of audio file"]</pre>
 +
to play an audio file. 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
  
 
===Host your audio offsite at SoundCloud===
 
===Host your audio offsite at SoundCloud===

Revision as of 17:09, 23 October 2013

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

If you host your file at Evergreen?

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.

Using Haiku

  • Use the shortcode
    [haiku url="http://example.com/file.mp3" oga="http://example.com/file.ogg" title="Title of audio file"]
to play an audio file. 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

Host your audio offsite at SoundCloud

SoundCloud Embed an audio file using SoundCloud.

Still have WordPress questions?