DS Custom Audio Player

Wopisanje

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):

  • srcrequired, URL to the audio file.
  • width – CSS value, e.g. 400px or 100%.
  • color – Button background color, e.g. #0073e6.
  • bg – Player background color.
  • icon – SVG icon color, e.g. #ffffff.
  • compact0 = normal view incl. Metadata, 1 = compact view, 2 = super compact view
  • show_volume1 = show volume control, 0 = hide.
  • show_download1 = show download button, 0 = hide.
  • align – alignment: left, center, or right.

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“]

Fota wobrazowki

  • Global Settings Menu
  • Different appearences
  • Gutenberg Support

Bloki

Tutón tykač 1 blok skići.

  • DS Custom Audio Player Custom audio player with three views: Normal (with metadata), Compact and Very Compact (without metadata). Includes volume and download options.

Instalacija

  1. Upload the plugin folder ds-custom-audio-player to /wp-content/plugins/.
  2. Activate the plugin in the WordPress backend under Plugins Installed Plugins.
  3. Configure default values under Settings Custom Audio Player.
  4. Insert the shortcode [dscap_audio src="URL"] into posts or pages or use the DS Custom Audio Player Block in Gutenberg.

HSP

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.

Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

Sobuskutkowarjo a wuwiwarjo

„DS Custom Audio Player“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

Protokol změnow

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.