{"id":706,"date":"2013-03-04T03:59:40","date_gmt":"2013-03-04T03:59:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/compact-wp-audio-player\/"},"modified":"2025-12-02T03:11:34","modified_gmt":"2025-12-02T03:11:34","slug":"compact-wp-audio-player","status":"publish","type":"plugin","link":"https:\/\/lo.wordpress.org\/plugins\/compact-wp-audio-player\/","author":1257425,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.15","stable_tag":"1.9.15","tested":"6.9.4","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Compact Audio Player","header_author":"Tips and Tricks HQ","header_description":"","assets_banners_color":"000000","last_updated":"2025-12-02 03:11:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.tipsandtricks-hq.com\/development-center","header_plugin_uri":"https:\/\/www.tipsandtricks-hq.com\/wordpress-audio-music-player-plugin-4556","header_author_uri":"https:\/\/www.tipsandtricks-hq.com\/","rating":4.1,"author_block_rating":0,"active_installs":20000,"downloads":662922,"num_ratings":68,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2":{"tag":"1.2","author":"mra13","date":"2013-03-04 04:02:26"},"1.4":{"tag":"1.4","author":"mra13","date":"2013-04-30 02:11:02"},"1.5":{"tag":"1.5","author":"mra13","date":"2013-06-08 09:08:07"},"1.6":{"tag":"1.6","author":"mra13","date":"2013-10-01 08:09:38"},"1.9.13":{"tag":"1.9.13","author":"mra13","date":"2024-10-22 10:26:05"},"1.9.14":{"tag":"1.9.14","author":"mra13","date":"2024-10-22 10:27:43"},"1.9.15":{"tag":"1.9.15","author":"mra13","date":"2025-12-02 03:11:34"},"1.9.5":{"tag":"1.9.5","author":"mra13","date":"2016-09-18 04:50:41"},"1.9.9":{"tag":"1.9.9","author":"mra13","date":"2024-01-24 02:14:36"}},"upgrade_notice":{"":"<p>None<\/p>"},"ratings":{"1":10,"2":3,"3":6,"4":3,"5":46},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":994411,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":740157,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.4","1.5","1.6","1.9.13","1.9.14","1.9.15","1.9.5","1.9.9"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[452,4702,230,84,9134],"plugin_category":[50,56],"plugin_contributors":[77714,77710],"plugin_business_model":[],"class_list":["post-706","plugin","type-plugin","status-publish","hentry","plugin_tags-audio","plugin_tags-audio-player","plugin_tags-embed","plugin_tags-media","plugin_tags-media-player","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-mbrsolution","plugin_contributors-tips-and-tricks-hq","plugin_committers-mra13"],"banners":{"banner":"https:\/\/ps.w.org\/compact-wp-audio-player\/assets\/banner-772x250.jpg?rev=740157","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/compact-wp-audio-player\/assets\/icon-128x128.png?rev=994411","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Compact WordPress Audio Player plugin is an HTML5 + Flash hybrid based wordpress plugin which can be used to embed an mp3 audio file on your WordPress post or page using a shortcode. The audio player is cute and compact and will play on all major browsers.<\/p>\n\n<p>This audio player plugin Supports .mp3 and .ogg file formats.<\/p>\n\n<p>The audio files that you embed using this plugin will work on all devices.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>The audio player is compact so it does not take a lot of real estate on your webpage<\/li>\n<li>HTML5 compatible so the audio files embedded with this plugin will play on iOS devices<\/li>\n<li>Works on all major browsers - IE7, IE8, IE9, Safari, Firefox, Chrome<\/li>\n<li>The audio player is responsive.<\/li>\n<li>If you do podcasting then this audio player can be used to embed the audio files on your WordPress posts or pages<\/li>\n<li>If you are selling audio files from your site then you can use this plugin to offer a preview<\/li>\n<li>Add the audio player to any post\/page using shortcode<\/li>\n<li>Use autoplay option to play an audio\/mp3 file as soon as the page loads<\/li>\n<li>Ability to specify both the mp3 and ogg version of your audio files. The plugin will play the appropriate one based on the device. <\/li>\n<\/ul>\n\n<p>https:\/\/www.youtube.com\/watch?v=4eBIPqfZiss<\/p>\n\n<p>More details can be found on the <a href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-audio-music-player-plugin-4556\">Compact Audio Player Plugin Page<\/a><\/p>\n\n<h3>Usage<\/h3>\n\n<p>Use the following shortcode to embed an audio file anywhere on your site<\/p>\n\n<p>[sc_embed_player fileurl=\"URL OF THE MP3 FILE\"]<\/p>\n\n<p>Example shortcode:<\/p>\n\n<p>[sc_embed_player fileurl=\"http:\/\/www.example.com\/wp-content\/uploads\/my-music\/mysong.mp3\"]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the \"sc_audio_player.zip\" file via the WordPress's plugin uploader (Plugins -&gt; Add New -&gt; Upload)<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in Wordpress.<\/li>\n<li>Create a page or post to show the player using shortcode. <\/li>\n<li>Add shortcode anywhere in the post\/page like: [sc_embed_player fileurl=\"mp3 file url\"]<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20my%20audio%20file%20work%20in%20all%20major%20browsers%3F'><h3>Will my audio file work in all major browsers?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='can%20i%20loop%20the%20audio%20files%20embedded%20using%20this%20plugin%3F'><h3>Can I loop the audio files embedded using this plugin?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='will%20the%20audio%20player%20work%20on%20ios%20devices%3F'><h3>Will the audio player work on iOS devices?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.15<\/h4>\n\n<ul>\n<li>Using the <code>wp_safe_remote_get<\/code> function instead of <code>wp_remote_get<\/code> to get the file headers.<\/li>\n<\/ul>\n\n<h4>1.9.14<\/h4>\n\n<ul>\n<li>Added output escaping to the fileurl shortcode parameter.<\/li>\n<li>Refactored the autoplay JavaScript code so output escaping can be added easily.<\/li>\n<\/ul>\n\n<h4>1.9.13<\/h4>\n\n<ul>\n<li>Added a settings option and a filter to disable the URL validation for the fileurl parameter.<\/li>\n<\/ul>\n\n<h4>1.9.12<\/h4>\n\n<ul>\n<li>The fileurl field will also accept the relative URL value (example: \/wp-content\/uploades\/audio.mp3)<\/li>\n<\/ul>\n\n<h4>1.9.11<\/h4>\n\n<ul>\n<li>Added a fallback for the fileurl verification when the PHP URL validation fail for non-latin characters.<\/li>\n<\/ul>\n\n<h4>1.9.10<\/h4>\n\n<ul>\n<li>Added a CSS wrapper class for the audio player to make it work better with block themes.<\/li>\n<li>Validate URL for the 'fileurl' parameter of the shortcode.<\/li>\n<\/ul>\n\n<h4>1.9.9<\/h4>\n\n<ul>\n<li>PHP 8.2 compatibility.<\/li>\n<\/ul>\n\n<h4>1.9.8<\/h4>\n\n<ul>\n<li>Added output escaping to the shortcode parameters. Thanks to WPScan for pointing it out.<\/li>\n<\/ul>\n\n<h4>1.9.7<\/h4>\n\n<ul>\n<li>Escape attributes in the shortcode.<\/li>\n<li>Added nonce check to the settings menu save operation.<\/li>\n<li>Thanks to WPScan team for pointing these out.<\/li>\n<li>WP 5.8 compatibility.<\/li>\n<\/ul>\n\n<h4>1.9.6<\/h4>\n\n<ul>\n<li>Updated the audio player for iOS 10 safari.<\/li>\n<li>WordPress 4.6 compatible.<\/li>\n<\/ul>\n\n<h4>1.9.5<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>1.9.4<\/h4>\n\n<ul>\n<li>WordPress 4.4 compatibility.<\/li>\n<\/ul>\n\n<h4>1.9.3<\/h4>\n\n<ul>\n<li>Corrected a typo in the play button image file name.<\/li>\n<li>changed the uniqid() function to use the \"more_entropy\" parameter so the value is more unique.<\/li>\n<li>Fixed a minor bug with internet explorer.<\/li>\n<\/ul>\n\n<h4>1.9.2<\/h4>\n\n<ul>\n<li>Fixed a minor bug (new player template1) with the \"loops\" parameter.<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<ul>\n<li>Fixed a minor bug in the new player template1 with the \"autoplay\" parameter.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<p>1.8 - Added the option to specify both an .mp3 and .ogg version of the audio file in the shortocode.<\/p>\n\n<p>1.7 - WordPress 3.8 compatibility<\/p>\n\n<p>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.<\/p>\n\n<p>1.5 - added a auto loop parameter option in the shortcode to automatically loop the audio file<\/p>\n\n<p>1.4 - added a volume parameter option in the shortcode so you can specify the volume of the audio<\/p>\n\n<p>1.3 - Added the autoplay option in the shortcode.<\/p>\n\n<p>1.2 - added the ability to spcify a container class via the shortcode (helpful for CSS customization)<\/p>\n\n<p>1.1 - minor javascript bug fix<\/p>","raw_excerpt":"A Compact WP Audio Player Plugin that is compatible with all major browsers and devices (Android, iPhone, iPad)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=706"}],"author":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mra13"}],"wp:attachment":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=706"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=706"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=706"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=706"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}