• 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)
  • Plugin Author X-Raym

    (@x-raym)

    This custom plugin has to be adjusted,

    this is just exemple of how to trigger in different circumstances,

    but you have to find what Call you want to hook for trigger the wavesurfer event.

    This depends on the ajax plugins you used etc…

    Please discuss with this plugin support !

    Best,

Viewing 1 replies (of 1 total)
  • The topic ‘How to initiate after an ajax load?’ is closed to new replies.