Thank you for your work on this plug-in. I’ve run into an issue that I’m not sure how to troubleshoot. We’re using the plugin to allow judges to evaluate auditions where they can compare the submitted recordings directly against each other. We have many recordings on the page (200+), but the plug-in crashes after 5+ of the recordings are played. It’s been a problem every year, but seems to be worse this year.
I know this isn’t enough info to help, and we’re currently in the adjudication process, so I can’t share the actual page right now, but any ideas how to start troubleshooting?
]]>Where to find CSS and how to make the top-margin for the SC Audio Player -19?
]]>Is it possible to change the image/icon of the player?
Thank you
]]>Is it possible to play a short preview of an audo file rather than the whole track?
(I realise I could upload my own reduced sample, but I’m curious if it can be done from within the plugin or shortcode?
Thank you
]]>Good morning, people.
I am facing a problem with the plugin. It is moving the text to the next line, generating unwanted spacing. As a result, the text is disorganized. It didn’t do that. The text used to come right after the plugin, without line breaks.
Do you know how to solve that problem?
Thank you.
Hi there,
There’s something in the latest version of Compact WP Audio Player 1.9.13 that makes my website load terribly slow.
This affects only pages that have audio shortcodes (attaching sample URL).
There doesn’t seem to be a conflict with any installed plugins or themes. I disabled all plugins and left only the player active and the pages still took a long time to load. I also changed the theme to a classic WP theme, same problem.
Rolling back to 1.9.9 fixes the issue, but this is temporary.
I’m on a LiteSpeed web server with no cache plugin enabled. (I do have Ezoic cache enabled through custom DNS servers but I connect to my website through its IP to bypass these.)
Running out of ideas. Any help on why it’s doing this?
]]>Hello, I am reaching out to report a critical issue I’ve encountered with your plugin, specifically after a recent update (Version 1.9.12), which affects accessing MP3 files stored on an Amazon S3 bucket. The issue seems to stem from the plugin’s inability to comply with S3 bucket policies that restrict file access to specific domains, leading to a 403 Forbidden error (“An HTTP error occurred during file retrieval. Error Code: 403”).
Issue Description: After the plugin update, attempting to access MP3 files via the plugin’s shortcode results in an HTTP 403 Forbidden error.
Key Details:
Suggested Solution:
A potentially easy-to-implement solution that would offer more flexibility to users facing similar issues would be to add an option within the WordPress dashboard, specifically on the plugin configuration page, that allows for the disabling of file URL validation ($fileurl = scap_validate_url($fileurl);). This feature would enable users to bypass the URL validation step if their setup does not require it, or if it causes compatibility issues with their storage solutions, like in my case.
Thank you very much for your attention and support on this matter.
Best Regards.
]]>Hello,
I am reaching out to report a critical issue I’ve encountered with your plugin, specifically after a recent update (Version 1.9.12), which affects accessing MP3 files stored on an Amazon S3 bucket. The issue seems to stem from the plugin’s inability to comply with S3 bucket policies that restrict file access to specific domains, leading to a 403 Forbidden error (“An HTTP error occurred during file retrieval. Error Code: 403”).
Issue Description: After the plugin update, attempting to access MP3 files via the plugin’s shortcode (e.g., [sc_embed_player fileurl=”https://mybucket.s3.amazonaws.com/test.mp3″%5D ) results in an HTTP 403 Forbidden error.
Key Details:
Suggested Solution:
A potentially easy-to-implement solution that would offer more flexibility to users facing similar issues would be to add an option within the WordPress dashboard, specifically on the plugin configuration page, that allows for the disabling of file URL validation ($fileurl = scap_validate_url($fileurl);). This feature would enable users to bypass the URL validation step if their setup does not require it, or if it causes compatibility issues with their storage solutions, like in my case.
Example of S3 Bucket Policy with Domain Restriction
For your reference, below is an example of the type of S3 bucket policy I have implemented, which restricts access to files based on the originating domain:
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “RestrictAccessToSpecificDomains”,
“Effect”: “Allow”,
“Principal”: “*”,
“Action”: “s3:GetObject”,
“Resource”: “arn:aws:s3:::mybucket/*”,
“Condition”: {
“StringLike”: {
“aws:Referer”: [
“https://mydomain.com/*”
]
}
}
}
]
}
This policy was designed to ensure that only requests coming from the specified domains are allowed to retrieve objects from the bucket. The issue appears when the plugin fails to access the MP3 files, likely due to the Referer header check imposed by this policy, leading to the 403 Forbidden error we’re encountering.
Thank you very much for your attention and support on this matter.
Best Regards.
]]>Hi!
I am developing a dictionary site, and I found the Compact WP Audio Player plugin, which does exactly what I need. Thank you for making it available!
For every word in the dictionary there is a sound file, .wav in this case, and all sound files live in a subfolder in the theme folder. On every single-word page, I generate the correct shortcode for playing the matching sound file, and this worked brilliantly.
This is an example of a generated shortcode: [sc_embed_player fileurl=”https://jangga-dev2.local/wp-content/themes/jangga-theme/sounds/balban.wav”%5D This would play the balban.wav file, on the balban page.
Update: The shortcode that I pasted in, and see when I am editing, ends with a closing square bracket, but after posting it on the forum it shows %5D.
It worked like a dream, but now, it throws an error: Fatal error: Possible integer overflow in memory allocation (2 * 639 + 32) in C:\Users\mv\Local Sites\jangga-dev2\app\public\wp-includes\shortcodes.php on line 273
On that line in shortcodes.php it says: $content = preg_replace_callback( “/$pattern/”, ‘do_shortcode_tag’, $content );
As you see, I run it at Local by Flywheel, the site is not life yet. That was not a problem before.
Is this caused by the update, or is there another reason? I do not know where to start looking, please help!
/Mark
]]>Hi.
As a follow-up to the first topic:
https://www.ads-software.com/support/topic/error-1851/
The plugin doesn’t work completly for me since the version 1.9.10.
Some audio has this error:
Error occurred when trying to fetch the file using wp_remote_get(). cURL error 7: Failed to connect to [my website] port 443: Connection refused.
But everything works with the previous version 1.9.9.
Could someone help me with this issue?
Thank you very much.
]]>Hello,
I had WordPress ver. 6.4.3, PHP 8.0 and Compact Audio Player ver. 1.9.12 installed. I was getting the following error message:Error occurred when trying to fetch the file using wp_remote_get(). cURL error 28: Operation timed out after 30000 milliseconds with 624013 bytes received.
Rolling back to ver 1.9.9 fixes the problem.
Query Monitor shows the following:scap_verify_file_url_accessible()
wp-content/plugins/compact-wp-audio-player/scap-utility-functions.php:20
scap_validate_url()
sc_embed_player_handler()
do_shortcode_tag()
preg_replace_callback()
do_shortcode()
apply_filters('the_content')
the_content()
load_template('wp-content/themes/west/template-parts/content-page.php')
locate_template()
get_template_part('template-parts/content','page')
Hello,
I have a page with 20 – 30 words and their pronounciation using the plugin. After adding them the page takes close to 1 minute to load. If I disable the plugin the page loads imediately. Any advice? Audio files are 50 – 70 kb in size….
I get this error in console:
soundmanager2-nodebug-jsmin.js?ver=6.4.3:37 Uncaught (in promise) DOMException: play() failed because the user didn’t interact with the document first. https://goo.gl/xX8pDD
]]>Hi there,
I use your plugin for my students to listen to the pronunciation of French words. I have more than 2000 mp3 on my LMS. Since the last update, it shows: “An HTTP error occurred during file retrieval. Error Code: 403”. Do you know how to fix this problem?
Thanks for your help!
]]>Compact Audio Player Error! The mp3 file URL that you entered in the “fileurl” parameter looks to be invalid. Please enter a valid URL of the audio file.
Da quando ho installato la nuova versione di plugin appare quest’errore.
Ho letto nel forum che qualcuno aveva problemi per caratteri latini. Io non caratteri strani e mi appare lo stesso. Come devo risolvere?
Se non è possibile mi date il link per scaricarel aversione precedente?
Grazie
]]>Hello, first of all, many thanks for this plugin which is simple and clean. I just have a little problem, is it possible not to use an ultimate link? I would like something like this, if possible.
Example :
[sc_embed_player fileurl=”/wp-content/uploads/…my_file.mp3″]
I have tried several things, but I can’t find the solution, could you please help me. Big thanks.
Hello!
After updating the plugin I noticed that words that used to follow the play button are now in the next line and the play button is totally alone in its line.
Is there a way to solve this? For the purpose I use it, words should follow the play button, otherwise everything looks extremely wide.
Thanks for you help in advance!
]]>Hello.
Since I updated to the latest version a few days ago it keeps on returning this error message:
Compact Audio Player Error! The mp3 file URL that you entered in the “fileurl” parameter looks to be invalid. Please enter a valid URL of the audio file.
It’s been working perfectly well until then and there’s nothing wrong with the audio links. What’s happening? Is it possible to go back to a previous version?
Thanks.
]]>Hello,
First, I want to thank you for the great plugin that you have sharing with us.
My issue:
We have uploaded and posted bunch of audio files (more than 500, on more than 300 pages) for audio practice, and since all the files are local, we stripped out the domain (/wp-content/…) and it worked as expected.
After the latest update, none of our audio files were available due to URL validation error.
Is there something we can do about it, or we need to add our domain to every single shortcode?
Different than that would be not to update the plugin.
Thank you for your valuable time!
]]>Hi, I have a page which shows 15 audios, each of 3 or 4 minutes each. It has been working well for years until recently, three people using an iphone have reported the same kind of issue: the page appears blank, apart from the message “A problem repeatedly occured”.
A tech person tells me it could be that iPhones, to minimize playback stutter in slow network conditions, will delay the initiation of audio until it can pre-download sufficient data.
Whether or not this is the cause, what suggestions are there to get around this please?
I’m using shortcodes with [sc_embed_player_template1 fileurl=”https://media.anorexiafamily.com/bitesize/600_570_Hospital_scared_discharge_home.mp3″%5D and each file (on a page of 15) is typically 2 MB
The page is for members but if you contact me I can send you a login.
Many thanks
Eva
Hi, I’m trying to control the volume of my audio file but it doesn’t seem to work.
Regards.
Jean
I’m editing a website for a blind musician. We have some music tracks on one of the pages, and I need for the player icon to work with screen readers. Something like an image alt tag is what I’m looking for, so that the text isn’t visible on the screen, but will be read when the mouse hovers over the player We’re using the icon.sc_embed_player shortcode.
I’ve sort of been able to get it to work if I put some div code around the shortcode like this:
<div role="img" aria-label="Click to play">[sc_embed_player fileurl="**link to mp3 file**"]</div>
But it makes the whole sc_player_container1 div active, so the screen reader says “Click to play” across the whole horizontal space, and not just when the mouse is on the player icon.
Help?
]]>Hi there.
I’m trying to add an audio music as a background for the homepage but the shortcode [sc_embed_player autoplay=”true” fileurl=”https://www.ghigorotto.com/wp-content/uploads/2023/08/audio.mp3 “] doesn’t work. It shows up the audio player with the play button that seems to be reproducing but I need to tap and retap again in order to make it play.
]]>Autoplay only works when you arrive on the page from a link within the website. If I click on the website link in Google for example and arrive on the homepage for the first time, the sound does not play. This is true for both the mobile and desktop. When I go to another page on the website, then navigate back to the homepage via the menu or other internal link, the track then plays.
I do not want the controls to be displayed on the page, I just want the sound to play when you land on the page, and especially when someone first lands on the website from a search engine (or any external URL).
Many thanks for your help.
Here’s the code I’m using. The site is under construction so hidden by a holding page so you won;t be able to see it.
[sc_embed_player autoplay=true fileurl=”https://uploadad-mp3-url.mp3″%5D
]]>Hey there,
First of all, great little plugin. Thank you so much!
I ‘m finding a little issue with the player breaking lines: https://vimeo.com/845335663/57d7eedb20
Any idea?
]]>Hi there,
I have a shortcode on most pages and they work fine. However, since updating WordPress core, the shortcode on the home page is displaying instead other audio player. All other shortcodes on other pages are unaffected and are displaying the audio player.
]]>I would like to hide the controls
]]>Good day together,
I was very excited today to find this plugin, it seemed to exactly do the required job. For working on WP sites, I always use Chrome and the autostart worked immediately. But that was only when I was logged into the page as an admin. When using Firefox or Safari or even Chrome, when logged out, audio won’t start playing at all. Tested on a Mac, OS 11.7.6, browser all updated versions. Code is:
On Firefox I can start the audio only by giving permission in the search bar, but there is none like that in Safari or in Chrome.
Anything that I am missing out on? Or is it OS related? I am aware of that there will be no sound on iOS devices, but auto sound on Mac desktop computers would be very nice to have!
Thank you!
Kind regards, Mathias
]]>hi
i use the button default template
i have multiple audio files on a page so i Check the option in the setting to allow one audio file to be played at a time
the problem is
when i play an audio file and press to pause it and press again to continuation the file
It works from the beginning no continuation
]]>Dear sir
this is an amazing plug in
i need to add another Template2
because i need to use two style button in the same post
the is the button
]]>