We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, @thijstriemstra
I am trying to add zoom feature of wavesurfer.js in your plugin. How can I call wavesurfer.js zoom method from your script?
Thanks in advance for your help #
The text was updated successfully, but these errors were encountered:
hi @dimakhilchenko, here's an example:
<audio id="myAudio" class="video-js vjs-default-skin"></audio> <button id="zoomBtn">Zoom</button> <script> var player = videojs("myAudio", { controls: true, autoplay: true, loop: false, width: 600, height: 300, plugins: { wavesurfer: { src: "media/heres_johnny.wav", msDisplayMax: 10, waveColor: "grey", progressColor: "black", cursorColor: "black", hideScrollbar: true } } }); player.on('ready', function() { document.getElementById("zoomBtn").onclick = function() { player.waveform.surfer.zoom(2); }; });
Sorry, something went wrong.
add section describing accessing wavesurfer.js methods (refs #16)
06bbda0
No branches or pull requests
Hi, @thijstriemstra
I am trying to add zoom feature of wavesurfer.js in your plugin.
How can I call wavesurfer.js zoom method from your script?
Thanks in advance for your help #
The text was updated successfully, but these errors were encountered: