Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Compact WP Audio Player icon

Compact WP Audio Player

v1.9.15
by mra13 · 4.0 (67 reviews)

A Compact WP Audio Player Plugin that is compatible with all major browsers and devices (Android, iPhone, iPad)

30K+ active installs Updated Dec 14, 2024 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card

About Compact WP Audio Player

The Compact WordPress Audio Player plugin is a small and cute audio player that can be used to embed an mp3 audio file on your WordPress post or page. It is compatible with all major browsers and supports both .mp3 and .ogg file formats. You can use it to add a preview of your audio files if you are selling them or to include audio files in your podcast episodes.

Frequently asked questions

What is the Compact WP Audio Player?
The Compact WordPress Audio Player plugin is an HTML5 + Flash hybrid based WordPress plugin. It can be used to embed an mp3 audio file on your WordPress post or page using a shortcode.
What file formats does the Compact WP Audio Player support?
This audio player plugin supports .mp3 and .ogg file formats. You can specify both the mp3 and ogg versions of your audio files, and the plugin will play the appropriate one based on the device.
Is the Compact WP Audio Player compatible with mobile devices and different browsers?
Yes, the audio files embedded using this plugin will work on all devices, including iOS devices. It works on all major browsers like IE7, IE8, IE9, Safari, Firefox, and Chrome. The audio player is also responsive.
How do I embed an audio file using this plugin?
You can add the audio player to any post or page using a shortcode. An example shortcode is [sc_embed_player fileurl="URL OF THE MP3 FILE"].
Can I use this plugin for podcasting or selling audio files?
If you do podcasting, this audio player can be used to embed audio files on your WordPress posts or pages. If you are selling audio files from your site, you can use this plugin to offer a preview.

Changelog

1.9.15

  • Using the wp_safe_remote_get function instead of wp_remote_get to get the file headers.

1.9.14

  • Added output escaping to the fileurl shortcode parameter.
  • Refactored the autoplay JavaScript code so output escaping can be added easily.

1.9.13

  • Added a settings option and a filter to disable the URL validation for the fileurl parameter.

1.9.12

  • The fileurl field will also accept the relative URL value (example: /wp-content/uploades/audio.mp3)

1.9.11

  • Added a fallback for the fileurl verification when the PHP URL validation fail for non-latin characters.

1.9.10

  • Added a CSS wrapper class for the audio player to make it work better with block themes.
  • Validate URL for the ‘fileurl’ parameter of the shortcode.

1.9.9

  • PHP 8.2 compatibility.

1.9.8

  • Added output escaping to the shortcode parameters. Thanks to WPScan for pointing it out.

1.9.7

  • Escape attributes in the shortcode.
  • Added nonce check to the settings menu save operation.
  • Thanks to WPScan team for pointing these out.
  • WP 5.8 compatibility.

1.9.6

  • Updated the audio player for iOS 10 safari.
  • WordPress 4.6 compatible.

1.9.5

  • Bugfix – Audio player embedded with the “autoplay” flag (in the default template) wasn’t changing the pause button icon to a play button icon after the audio file finished playing.

1.9.4

  • WordPress 4.4 compatibility.

1.9.3

  • Corrected a typo in the play button image file name.
  • changed the uniqid() function to use the “more_entropy” parameter so the value is more unique.
  • Fixed a minor bug with internet explorer.

1.9.2

  • Fixed a minor bug (new player template1) with the “loops” parameter.

1.9.1

  • Fixed a minor bug in the new player template1 with the “autoplay” parameter.

1.9 – Added a new shortcode for a different audio player with seek bar and volume control in the player. The documentation has usage details of this new shortcode.

1.8 – Added the option to specify both an .mp3 and .ogg version of the audio file in the shortocode.

1.7 – WordPress 3.8 compatibility

1.6 – Added an option to disable simultaneous playback. It will automatically stop the audio file that is currently playing when a user plays a new file.

1.5 – added a auto loop parameter option in the shortcode to automatically loop the audio file

1.4 – added a volume parameter option in the shortcode so you can specify the volume of the audio

1.3 – Added the autoplay option in the shortcode.

1.2 – added the ability to spcify a container class via the shortcode (helpful for CSS customization)

1.1 – minor javascript bug fix

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.