How to rewind and forward in bitmovin player by using java script.
Hi @rajeshrai0512,
The logic for implementing forward and rewinding can be found in this sample - bitmovin-player-web-samples/playerUi/customForwardRewindButtons.html at e4ab1efc85701246a4cd8158cdc8225b867b4edc · bitmovin/bitmovin-player-web-samples · GitHub
let rewindButton = new bitmovin.playerui.Button({cssClass: 'ui-rewindbutton bmpui-ui-button'});
rewindButton.onClick.subscribe(function () {
player.seek(Math.max(0, player.getCurrentTime() - interval));
});
let forwardButton = new bitmovin.playerui.Button({cssClass: 'ui-forwardbutton bmpui-ui-button'});
forwardButton.onClick.subscribe(function () {
player.seek(Math.min(player.getDuration(), player.getCurrentTime() + interval));
});