Hi, I just carried out a test on my dev site locally and it works on most browsers. The browser I had an issue with is Microsoft Edge but I am sure this is because of the security settings in the browser. So I can confirm this works for me.
Browsers I tested:
- Google Chrome
- Firefox
- Seamonkey
I also used your shortcode from above for this test. Make sure your double quotes are correct and there are no spaces before or after the double quotes. I found a space in your shortcode after the 3 and before the double quote illustrated as follow .mp3 “. This will cause an error to occur.
[sc_embed_player autoplay="true" fileurl="https://www.ghigorotto.com/wp-content/uploads/2023/08/audio.mp3"]
Kind regards.
-
This reply was modified 2 years, 5 months ago by
mbrsolution.
Hi there.
I have tried to copy and paste your code in the homepage at the bottom, the player appears as always but the sound doesn’t autoplay. The page is https://www.ghigorotto.com
-
This reply was modified 2 years, 5 months ago by
richardzed.
Something in your site is probably interfering with the sound playing automatically. This could be related to a plugin, theme or maybe is related to a cache issue.
You might also like to try the following php code added to your theme to play your mp3 file in the background?
<?php echo do_shortcode('[sc_embed_player autoplay="true" fileurl="URL OF THE MP3 FILE"]'); ?>
Kind regards.
Same issue for me on Chrome, Firefox, Safari and Brave on iMac, no sound in autoplay. If I stop and play, the sound is playing.
@momo-fr I can confirm that it is working for me as per my message above. The only browser I have an issue with is Microsoft Edge but I am sure this is because of the security settings in the browser.
Kind regards.