How to manually re-init the mb.miniAudioPlayer after Ajax refresh by FacetWP?
-
Hi there,
I am using the mb.miniAudioPlayer plugin along with FacetWP. When FacetWP refreshes it’s results, the mb.miniAudioPlayer skin is no longer active but instead the standard HTML5 player is shown. I know that I need to re-init the player after the Ajax refresh, but I just can’t find the correct function to call.
Referring to https://facetwp.com/help-center/developers/javascript-reference/facetwp-loaded/ I tried to init the mb.miniAudioPlayer on the “facetwp-loaded” event but what JS function exactly do I need to call? I tried initializeMiniAudioPlayer() with no luck.
Thanks in advance for your support,
Chris
- The topic ‘How to manually re-init the mb.miniAudioPlayer after Ajax refresh by FacetWP?’ is closed to new replies.