DS Custom Audio Player

설명

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

스크린샷

  • Global Settings Menu
  • Different appearences
  • Gutenberg Support

블록

이 플러그인은 1개의 블록을 제공합니다.

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

설치

  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.

FAQ

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.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“DS Custom Audio Player”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “DS Custom Audio Player”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.