How to initiate after an ajax load?
-
I load the audio shortcode via an ajax call. The interface is rendered correctly, but wavesurfer does not appear to initiate.
Calling the below does nothing:
$(document).trigger(‘wavesurfer’);
I looked at https://github.com/X-Raym/wavesurfer-wp-init, but this plugin just generates errors in the console.
How to make wavesurfer work after adding the audio shortcode to the page via an ajax call?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to initiate after an ajax load?’ is closed to new replies.