Hi,
I haven’t tried the wordpress audio embed but the issue is (as you said) related to the dynamic content. You would need to trigger whatever function is required to initiate the wordpress audio after you load the posts.
Hi, I am also having a similar issue described by keri23. I am embedding audio using the default WordPress media player in my posts, and then loading those posts with ALM. All of the content (text & images) display properly except the audio player.
Using my browser’s dev tools, I noticed that the audio player IS there, but it’s visibility has been set to “visibility:hidden”. When I change this manually after the page has loaded, I can see the audio player and it works fine.
Does that sound like I need to call some function in order to initialize the audio player and have their visibility set to visible? What function would that be?
Thanks.
You might need to use the almCOmplete callback function to display the audio player.
https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/almcomplete/
I don’t have another experience with this audio player so I wont be much help.
Thanks! I was able to use the callback function to set the visibility to “visible” after the alm containers finished loading. This feels a bit hacky though and it seems to affect the styling of the media player—it looks different in every browser I’ve tried (Chrome, Firefox, Safari, mobile versions of each) So I’d like to understand the underlying cause of this issue. Surprised I haven’t seen too much else about this issue. I’m using the default WordPress audio/video player, and it seems like it would be a common thing to use ALM to load that content dynamically…
Anyways, thanks! That did effectively solve the problem in the short term and I really appreciate the response. Great plug-in overall and more likely to continue using in the future knowing how good the developer support is.
Ok great, let me know if you get any more info on why it looks different in all browsers.
cheers,