Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 2.17 KB

README.md

File metadata and controls

39 lines (26 loc) · 2.17 KB

Multi-track audio player for WordPress

Audio player for WordPress, based on the SoundManager 2 Bar UI.

Installation

Download the player files and manually install them into the wp-content/plugins folder of your website.

Usage

Use the multiaudio shortcode to embed the player in your page/post. The contents of the shortcode should be a list of audio files.

[multiaudio fullwidth playlist]
<ul>
  <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20People%20Asking.mp3"><b>SonReal</b> - People Asking <span class="label">Explicit</span></a></li>
  <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Already%20There%20Remix%20ft.%20Rich%20Kidd%2C%20Saukrates.mp3"><b>SonReal</b> - Already There Remix ft. Rich Kidd, Saukrates <span class="label">Explicit</span></a></li>
</ul>
[/multiaudio]

Shortcode options:

  • bgcolor -- background color of the player (e.g. #2288cc or red)
  • fullwidth -- makes the player take the full width of the container
  • playlist -- starts with the playlist open
  • text -- color of the player's text (dark or light)
  • texture -- background texture (color or url(...)), defaults to transparent
  • theme -- general appearance of the player (standard or flat)

The fullwidth and playlist options do not take any values. (See the example above.)

License

Copyright 2015 Eric Heikes.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.