Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/brasofilo/responsiveaudioplayer/archive/refs/heads/master.zipShortcode for the Audio Player: Responsive and Touch-Friendly published on osvaldas.info.
Improved to allow only one player to be active at a time using the code provided by Felipe K. de Boni, Curtis and Hans in the comments thread.
Applied the Improved version of JavaScript fix for the iOS viewport scaling bug. See this highub blog post.
Plugin only loads its scripts and style if Shortcode found in post/page.
Usage
[resp-player width="50%" mp3="http://example.com/file.mp3" ogg="http://example.com/file.ogg"]
Also accepts WAV files, add wav="http://example.com/file.wav"
Changelog
Version 2013.07.02
- Encapsulated plugin into toscho's Demo Class
Version 2013.07.01
- Plugin as a repo in GitHub.
Version 2013.05.22
- First release as a Gist. https://gist.github.com/brasofilo/5630542