=== Audio Player Shortcode ===
Contributors: snehalpancholi
Tags: audio player, mp3, playlist, shortcode, HTML5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A styled HTML5 audio player shortcode with single-track and playlist modes, progress bar, volume, and optional download button.

== Description ==

Audio Player Shortcode provides a clean, accessible HTML5 audio player via the `[audio_player]` shortcode. No jQuery. No CDN dependencies. Supports MP3, OGG, WAV, FLAC, AAC, M4A, and more.

**Features**

* Single-track and multi-track playlist modes.
* Play/pause, previous/next, seek, volume, and mute controls.
* Progress bar with keyboard seek (arrow keys).
* Clickable playlist with active-track highlighting.
* Optional per-track download button.
* Configurable accent color per shortcode or globally.
* Responsive layout — volume slider hidden on small screens.
* Dark mode aware (uses `prefers-color-scheme`).
* ARIA-labelled controls for screen reader compatibility.
* Zero jQuery dependency — vanilla ES6.

== Installation ==

1. Upload the `audio-player-shortcode` folder to `/wp-content/plugins/`.
2. Activate via **Plugins > Installed Plugins**.
3. Add `[audio_player src="..."]` to any post or page.

== Frequently Asked Questions ==

= What audio formats are supported? =
MP3, OGG, WAV, FLAC, AAC, M4A, Opus, and WebM.

= Can I embed a playlist? =
Yes. Wrap `[audio_track]` shortcodes inside `[audio_player]...[/audio_player]`.

= Does the player work on mobile? =
Yes. Touch events are supported and the volume slider hides on narrow viewports to save space.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
First release.
