Custom Play / Stop Button #3597
bhambrabland
started this conversation in
General
Replies: 2 comments
-
This example should point you in the right direction: https://wavesurfer.xyz/examples/?events.js |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's a template of the code you can follow: HTML code to create a button:
JavaScript code to play or pause the audio using the button:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
New to the plugin, and it is amazingly simple to use, but I wondered if there is a way to create a HTML link and/or button, that would start and stop the audio?
I would live to create my own buttons on a variety of websites.
Thanks Kindly
Beta Was this translation helpful? Give feedback.
All reactions