Replies: 1 comment
-
You should provide your own audio element like in this example: <div id="my-container"></div>
<audio src="..." id="my-audio" /> const wavesurfer = WaveSurfer.create({
container: document.querySelector('#my-container'),
media: document.querySelector('#my-audio'), // your audio element
}) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
How does one style the Media Controls? Trying to just have it switch with my theme depending on dark / light mode but can't seem to get it to switch for some reason. Any Ideas?
Beta Was this translation helpful? Give feedback.
All reactions