Plugin Author
sonaar
(@sonaar)
Hi,
Are using using our shortcode? Please read this article for tutorials to get started with our MP3 Player and see list of shortcodes available https://sonaar.ticksy.com/article/15282
I don’t quite understand what you mean by “When previewing messages”
If you want a continuous audio playback, then you will need to buy the pro version. Continuous Sticky player is only available in the pro version.
I filmed a short video that will clearly show my problem. https://drive.google.com/file/d/1VKsrr6Ui-S6jl7VjCd5NM33w1QXwaz4O/view?usp=sharing. Yes, I am using a shortcode for the player. Thanks to the article, but I couldn’t find a solution for myself. “Previewing messages” is a preview of the post content in a dynamic blog carousel. I don’t need a sticky player yet, I need a separate player in each post.
Plugin Author
sonaar
(@sonaar)
Hi,
Ok, thats because your plugin is using ajax to load the item. You will need a bit of custom JS. Here is an HTML code that you need to add somewhere in your page.
<script type="text/javascript">
jQuery('.wp-pagenavi a').on('click', function(){
setTimeout(function(){
setIronAudioplayers();
}, 500);
})
</script>
This script add a JS function on your pagination and once clicked, it will init the audio players.
Hello. Here’s what happened: https://drive.google.com/file/d/1he4x7u2UiarTKViSAjIlyflS3iNv0aPl/view?usp=sharing
I added your suggested code to the end of the sidebar at https://soundaudio.cc/browse-music/. I also tried adding the code separately to the posts, and on the theme code integration page for the whole site. No result. Maybe I’m adding it to the wrong place? I’m new to this thread, sorry. What could be the reason for the lack of results?
Plugin Author
sonaar
(@sonaar)
Please open a support ticket on our helpdesk at https://support.sonaar.io and we will check this for you with a closer step.
The following code has been added to my site in the DIVI theme code integration section:
<script type="text/javascript">
function initPaginationforSonaar(){
jQuery('.wp-pagenavi a').on('click', function(){
setTimeout(function(){
setIronAudioplayers();
initPaginationforSonaar();
}, 5000);
})
}
initPaginationforSonaar();
</script>
Thanks a lot to the developers and support of MP3 Music Player by Sonaar!