
Audio Player Block
v2.0.1shimiplug · 2026年2月25日 上架
Audio Player Block: a fast HTML5 MP3 and podcast player for Gutenberg with playlists, waveform, sticky player, 12 layouts and download button.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 726
- 最近更新
- 2026年11月18日
贡献者
Audio Player Block is a lightweight, accessible HTML5 audio player for the WordPress block editor (Gutenberg). Add an MP3 player, music playlist or podcast player to any post or page in seconds. Pick a file from the Media Library (or paste any audio URL), choose one of 12 player layouts and style it from the block toolbar or sidebar. The editor shows the real, playable player, so what you see is exactly what your visitors get.
Built for musicians, podcasters, bands, record labels, course creators, churches, radio stations and bloggers who need a beautiful audio player without slowing down their website.
Why choose Audio Player Block?
- Fast – pure vanilla JavaScript on the frontend (about 14 KB JS and 5 KB CSS gzipped). No jQuery, no React, loaded only on pages that contain a player.
- Beautiful – 12 modern layouts and 16 one-click color presets that fit any theme.
- Complete – single audio, playlists, waveform, sticky mini player, playback speed, download button and more.
- Accessible – real buttons and sliders with labels, full keyboard support and visible focus.
- Privacy friendly – no tracking and no external services on the frontend.
Key Features
- 12 Player Layouts – Classic, Minimal, Compact, Modern, Card, Podcast, Waveform (SoundCloud-style), Album (cover + tracklist), Bar (slim full-width), Pill (inline), Vinyl (spinning record) and Cover (artwork as background).
- 16 Color Presets – Light, Dark, Midnight, Sunset, Forest, Rose, Ocean, Lavender, Coffee, Monochrome, Graphite, Luxe Gold, Neon, Aurora, Sunset Glow and Deep Sea.
- Toolbar Quick Pickers – change the player layout and color preset directly from the block toolbar with live previews.
- Audio Playlists – unlimited tracks with track numbers, artwork, artist, duration and easy reordering.
- Waveform Player – real audio waveform generated from your file, used as a clickable seek bar.
- Sticky Mini Player – a floating player bar stays at the bottom of the screen while visitors keep reading.
- Podcast Controls – playback speed (0.5x to 3x), skip backward/forward with a custom step and remaining time.
- Full Playback Controls – play/pause, previous/next, seek bar with buffer indicator, volume, mute, repeat (off / all / one) and shuffle.
- Download Button – optional download button for single audio and for each playlist track, with a custom file name.
- Media Session API – lock screen, headphone and notification center controls with title and artwork.
- Resume Playback – optionally continue from where the visitor left off (stored only in the visitor’s browser).
- Responsive Settings – width, padding, margin and typography per device (desktop, tablet, mobile).
- Full Styling – colors, Google Fonts typography, buttons, progress bar, volume, playlist, artwork, border, shadow and spacing.
- Shortcode Support – use
[camelplug_audio_player]in the Classic Editor, widgets and page builders.
Supported Audio Formats
MP3, WAV, OGG, M4A / AAC, FLAC and WebM – any format the visitor’s browser can play. Use files from your Media Library or external URLs. Title, artist, album and cover artwork are filled automatically from the file’s ID3 tags when picked from the Media Library.
Playback
- Play/pause, previous/next, skip backward/forward, seek by click, drag or keyboard.
- Current time, duration and remaining time.
- Volume slider, mute and default volume.
- Playback speed menu with a default speed and your own list of speeds.
- Repeat track, repeat playlist, shuffle and automatic next track.
- Autoplay, muted start and preload options. Browser autoplay rules are respected: when blocked, the player waits for a click.
- Pause other players automatically and keyboard shortcuts.
Shortcode
Single audio:
[camelplug_audio_player src="https://example.com/song.mp3" title="Song" artist="Band" cover="https://example.com/cover.jpg" layout="modern"]
Playlist:
[camelplug_audio_player urls="https://example.com/one.mp3, https://example.com/two.mp3" titles="One, Two" playlist_title="My mix" layout="card"]
Attributes: src, title, artist, album, cover, description, urls, titles, playlist_title, layout (classic, minimal, compact, modern, card, podcast, waveform, album, bar, pill, vinyl, cover), download, autoplay, loop, waveform, sticky, speed (yes/no), width.
External services
The frontend player uses no external services. When you choose a Google Font in the Typography settings and keep “Load Google Font” on, the font stylesheet is loaded from Google Fonts (https://fonts.googleapis.com) on pages with that player. Google’s privacy policy: https://policies.google.com/privacy