div and variable
WaveSurfer.create is assigned to need to be unique as what happens now is the button that is created with each call of the shortcode end up only working on the audio file which is downloaded and rendered first. I also need to be able to reference those randomly assigned variables to the
onclick field of the button too.
Ideally I’d have a random hash, or some incremental knowledge of how many shortcodes are in the file.
Any advice here?