Skip to content Skip to sidebar Skip to footer

Disable Fast Forward Audio In Audio.js

Hi everyone, I had used https://kolber.github.io/audiojs/ plugin for my application.There is a option to forward audio like using mouse I can forward audio.I want to disable the fo

Solution 1:

Don't seem like they have any official documentation for the Library.

One hack you can apply is unbinding the event on the player progress bar.

$('scrubber').unbind('click'); // Not passing click will unbind all events.

This way user won't be able to click the progress and forward it.

I wouldn't recommend it, but more suitable way would be using proper Api if provided by the library.

Post a Comment for "Disable Fast Forward Audio In Audio.js"