Last active
May 31, 2017 09:27
-
-
Save X-Raym/35a9dd2a537e685772e416d29646aa63 to your computer and use it in GitHub Desktop.
WaveSurfer-WP JavaScript functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $j = jQuery.noConflict(); | |
| $j(document).on(' ready wavesurfer-wp-init wavesurfer-markers-init', function() { // | |
| $j.each(wavesurfer, function(i) { | |
| wavesurfer[i].on('ready', function() { // Change the event if you need to | |
| // YOUR FUNCTION | |
| }); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment