跳到内容

DS Custom Audio Player

v2.7.0

Dennis Knake · 2025年9月23日 上架

DS Custom Audio Player adds a modern, responsive and customizable HTML5 audio player. Works in Gutenberg Block Editor and Classic Editor.

正在使用
90+
评分
暂无
累计下载
1,333
最近更新
2026年6月5日
需要 WordPress 5.0+已测试到 7.0.9PHP 7.2+

贡献者

截图

Global Settings Menu
Global Settings Menu
Different appearences
Different appearences
Gutenberg Support
Gutenberg Support

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)
  • Optional playback speed button (cycles through 1x / 1.5x / 2x)
  • Optional heading text displayed above the player (centered, italic, in theme font)
  • 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. 400px or 100%.
  • 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 view
  • show_volume – 1 = show volume control, 0 = hide.
  • show_download – 1 = show download button, 0 = hide.
  • show_speed – 1 = show playback speed button, 0 = hide.
  • heading – optional heading text displayed above the player (max. 50 characters).
  • show_heading – 1 = show heading, 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”]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums