I am trying to use seek(); to fast forward and reverse my flv. It works if I keep clicking the button to skip the video forward, but how can I make it so I just have to hold down the button to repeats the ns.seek(ns.time + 1) ?
forwardButton.onPress = function() {
ns.seek(ns.time + 1)
}
reverseButton.onPress = function() {
ns.seek(ns.time - 1)
}