I am using webapi-avplay to play video on samsung tizen tv web app. Video starts buffering when I am forwarding the video and after the completion of buffering, video starts playing. At the time when buffering in progress, I am trying to forward/backward video but unfortunately unable to forward/backward video. So I want to forward/backward video during buffering. I have searched and read doc but not found any help related to my problem. So Please help us to getting out from here.
Have you tried coding inside onbufferingprogress method. Like:
var listener = {
onbufferingprogress: function(percent) {
console.log("Buffering in progress");
loadingObj.setPercent(percent);
/* Move 5 seconds back */
var back_button = document.getElementById("v-back"); /* Back button */
back_button.addEventListener("click", function() {
video.currentTime -= 5
}, false);
}
}
webapis.avplay.setListener(listener);
Thank you.