Other plugins can play videos and make you tea. PlayPress has a laser focus on just one thing: it lets you put an audio player in blog posts and pages.
You use a standard wordpress shortcode like this:
[audio mp3="http://example.com/bells.mp3" ogg="http://example.com/bells.ogg"]
Users of most modern browsers will see a native html5 audio player. In older browsers, an adequate Flash-based one will be shown.
You don’t even need an ogg vorbis file:
In this case, PlayPress will first attempt to show the Flash player. If Flash isn’t installed, readers will see the html5 audio player – but it won’t work in Firefox or Opera. (Most Firefox and Opera users should have Flash installed.)
In either case, if neither Flash nor HTML5 are supported by the browser, users will see a link to download the audio file. Graceful degradation.
Optionally, specify a title and/or artist for display in the Flash player (this will override the id3 metadata embedded in your mp3 file, which is otherwise used if present):
[audio mp3="http://example.com/bells.mp3" title="Imagine" artist="John Lennon"]
The author’s website has playpress running live right there on it.
You should really use the plugin browser and installer built into your WordPress admin panel. But you can do it the old way:
/playpress/directory to the
For optimal results, place a copy of
htaccess.txt wherever you will be hosting audio files, and rename this
Now enjoy using the shortcode syntax in your posts and pages:
[audio mp3="http://example.com/bells.mp3" ogg="http://example.com/bells.ogg" title="Winnie the Pooh" artist="AA Milne"] [audio mp3="http://example.com/bells.mp3"]
Here is the PlayPress wordpress plugin download link you can download and install to your Wordpress Website.