Difference between revisions of "Embed Audio - WordPress"

From Help Wiki
m (If you host your file at Evergreen?)
m (If you host your file at Evergreen?)
Line 8: Line 8:
 
'''[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====
 
====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>
+
*Use the shortcode to play an 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
+
<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:11, 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 to play an audio file.
[haiku url="http://example.com/file.mp3" oga="http://example.com/file.ogg" title="Title of 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.

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

SoundCloud Embed an audio file using SoundCloud.

Still have WordPress questions?