Okay
  Public Ticket #3228328
MP3 player error on post grid display
Closed

Comments

  • Chris started the conversation

    I am trying to get the mp3 player to show up on a post grid layout with Elementor. One post grid plugin is showing the player shell and controls, but no waveform and shows the error 

    if(typeof setIronAudioplayers !== "undefined"){ setIronAudioplayers("arbitrary-instance-63e56c5ec2d02"); }

    Not sure if there is a better way to achieve what I am trying to do

  •  1,114
    Max replied

    It looks like a JavaScript conflict.

    Could you try something for me? Please deactivate all your plugins except our plugins then see if the issue persists. If not, please reactivate your plugins one by one and see which plugin can cause the conflict.

    Tell me how it goes.

    Thanks,


    Max from the Sonaar.io Crew

  • Chris replied

    Hi Max,


    With all plugins disabled, the error is still there.

    Attached files:  Screen Shot 2023-02-10 at 2.40.48 PM.png

  •  1,114
    Max replied

    Do you have any cache plugin or server cache enable? Try deactivate them. 

    If you don't have any cache setup, please provide me access to your wp-admin and I will gladly check the issue you have.

    Thanks,


    Max from the Sonaar.io Crew

  •   Chris replied privately
  •  1,114
    Max replied

    Hi,

    the post grid plugin you are using is preventing our javascript to launch for some reason. You should contact the post grid author plugin why this happen with their plugin. As you can see the player is loading fine when not using the post grid plugin. I have added a quick player on top of this page: http://coveracapellas.com/catalog/

    Perhaps use the Elementor Pro's loop builder instead of the post grid display..its much easier to use.


    Thanks,


    Max from the Sonaar.io Crew

  • Chris replied

    Do you know how I can add a section of posts to show the audio player in a grid style like the last section in that page with the white boxes? I have tried a few plugins to show the posts as full content instead of excerpts, but this was the only post grid plugin that even showed anything from the mp3 player.  Also I tried to just make a big playlist with Sonaar and just populate it using all posts, but it shows 2 blank tracks no matter what I do. Pls see this page I was testing this on.

    http://coveracapellas.com/test-cat/

    Track 1&2 are showing as Track 1, and then there is a Track 1 text at the bottom of the playlist

  •  1,114
    Max replied


    Would this be ok for you ? See screenshot https://drops.sonaar.io/i/WNMaeT 
    You can experiment this layout on our live demo page: https://sonaar.io/mp3-audio-player-pro/music-player-for-wordpress/examples/

    For the track 1, please check now. I have removed the Page CPT checkbox from the page setting: https://drops.sonaar.io/i/2Rdu8Z

    Thanks,


    Max from the Sonaar.io Crew

  • Chris replied

    Hi Max,


    I can probably make this work while I wait for the post grid plugin author to respond. Thank you for fixing the Track 1 thing for me, I didn't realize pages would show there, I thought it was to enable the player to load on pages :)

  • Chris replied

    Also is there a way to prevent users from inspecting element and getting the link to download the mp3 files?

  •  1,114