Descrição
The DS Custom Audio Player provides a lightweight, flexible and accessible alternative to the default WordPress audio player. It is designed for bloggers, podcasters and musicians who want more control over the look and functionality of their audio embeds without functionality overkill. It’s still just a simple player.
Comes with Language files for German, French, Spanish and Italian WordPress Installations
Features
- Customizable player width and colors (buttons, icons, background)
- Normal, compact and super compact view modes
- Metadata display (Artist – Title) read directly from audio files (MP3, OGG, FLAC, M4A, AAC)
- Optional volume control with instant mute/unmute
- Optional download button (filename based on metadata or original file name)
- Responsive design that works on desktop and mobile devices
- Lightweight: no external libraries required
- Accessibility-friendly controls (ARIA labels, keyboard navigation)
- Works with both Gutenberg (Block Editor) and the Classic Editor
This plugin uses the text domain ds-custom-audio-player.
Shortcode Usage
Basic example:
[dscap_audio src=”https://example.com/audio/song.mp3″]
Available attributes (override global defaults):
src– required, URL to the audio file.width– CSS value, e.g.400pxor100%.color– Button background color, e.g.#0073e6.bg– Player background color.icon– SVG icon color, e.g.#ffffff.compact–0= normal view incl. Metadata,1= compact view,2= super compact viewshow_volume–1= show volume control,0= hide.show_download–1= show download button,0= hide.align– alignment:left,center, orright.
Example with overrides:
[dscap_audio src=”https://example.com/audio/podcast.mp3
” width=”100%” color=”#ff0000″ icon=”#000000″ compact=”1″ show_download=”0″ align=”center”]
Blocos
Este plugin inclui 1 bloco.
- DS Custom Audio Player Custom audio player with three views: Normal (with metadata), Compact and Very Compact (without metadata). Includes volume and download options.
Instalação
- Upload the plugin folder
ds-custom-audio-playerto/wp-content/plugins/. - Activate the plugin in the WordPress backend under Plugins Installed Plugins.
- Configure default values under Settings Custom Audio Player.
- Insert the shortcode
[dscap_audio src="URL"]into posts or pages or use the DS Custom Audio Player Block in Gutenberg.
Perguntas frequentes
-
Which audio formats are supported?
-
All formats supported by the browser, including MP3, OGG, WAV, FLAC, M4A, and AAC.
Metadata extraction works best with MP3, OGG, and FLAC. -
Can I place multiple players on one page?
-
Yes, you can add as many shortcodes or blocks as you like per page.
-
Does it work in the Gutenberg Block Editor?
-
Yes, the DS Custom Audio Player provides a custom block that you can insert directly in Gutenberg.
-
Will my old shortcodes still work?
-
Yes. Shortcodes from earlier plugin versions like
[custom_audio]are automatically replaced with[dscap_audio]for backward compatibility. -
How does the download file naming work?
-
If metadata (Artist/Title) is available
Artist - Title.mp3.
Otherwise, the original filename is used. -
Is it accessibility-friendly?
-
Yes, all controls use ARIA labels and are keyboard-navigable.
Avaliações
Este plugin não tem avaliações.
Contribuidores e programadores
“DS Custom Audio Player” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
ContribuidoresTraduza o “DS Custom Audio Player” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
2.6
Added Super Compact View
Translation fixes
2.5.2
Bugfix: More reliable display of total Audio File length from start
2.5.1
Minor fixes for WordPress.org submission requirements. Legacy shortcode handling improved.
2.5
Added Gutenberg block compatibility and improved shortcode rendering.
…



