WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PB oEmbed HTML5 Audio - with Cache Support

This plugin converts URLs to audio files (MP3, OGG, WAV) into HTML5 audio with Flash-based player backup + Cache-System support and Shortcode.

Licence

GNU General Public License v.3 - http://www.gnu.org/licenses/gpl-3.0.html

HTML5 Audio Tag Shortcode:

I've added a simple Shortcode to give you the full control of your HTML5 Audio:

[audio id="your-css-id" class="pb-html5-audio-element" mp3="audio.mp3" ogg="audio.ogg" wav="audio.wav" autoplay="on" loop="on" preload="on" controls="on" flash_fallback="on"]

All Parameters are optional, but you need to specify at least one Audio Source: mp3, ogg or wav.

Defaults:

  • id (optional, will be auto generated by the plugin if you not provide an ID)
  • class = pb-html5-audio-element
  • autoplay = off
  • loop = off
  • preload = on
  • controls = on
  • flash_fallback = on

Since version 2.3 you can use the Generator below your Editor in Posts and Pages.

Use the Shortcode in your Theme

If you want to place an Audio-Tag Player in your Theme, you can use the Shortcode via PHP:

<?php
echo do_shortcode('[audio mp3="audio.mp3" ogg="audio.ogg" wav="audio.wav" autoplay="on" loop="on" preload="on" controls="on" flash_fallback="on"]');
?>

oEmbed HTML5 Audio

This plugins adds possibility to place audio files into posts and pages using the oEmbed technology used by WordPress for other purposes (YouTube videos etc). Audio files are embeded using HTML5 audio tag, with Flash-based backup player for MP3 format for browsers that don't support either HTML5 or MP3 format (Internet Explorer up to version 8.0, Firefox and Opera).

To put audio file into a post, simply enter the URL link to the audio file as separate paragraph. The plugin will convert it into the player on the page. See screenshots.

Requires: 3.0 or higher
Compatible up to: 3.9
Last Updated: 2014-4-18
Downloads: 12,262

Ratings

4 stars
4.7 out of 5 stars

Support

2 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,1,1 100,2,2 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 100,2,2
100,2,2 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1