Hello
I have seek issue with the feather's VideoPlayer on Android device.
When I try to seek to the specific position in a video using SeekSlider or player.seek(X)
function - video may stop for a moment and then continue to play from position it has during auto playing.
When I've added possible workarounds like
private function seekPlayer(e:Event):void { //custom seek function
player.pause(); //video paused OK on frame X
var position:Number = e.data.position;
setTimeout(function () {
player.seek(position);
//progressbar sets correct position. However video frame changed to the Y = X + 500ms. In other words video display jumps forward reflecting timeout and ignoring seek position
},500)
setTimeout(function () {
player.play(); //progressbar resumes to previous position ignoring seek and video plays from frame Y
},3000)
trace(e.data.position,'seek position')
}
- I was able to see progressBar of SeekSlider's component changed to the desired seek position, but as soon as player.play() function executed video resumed from the previous playing point.
Issue exists on feathers 4.0.0, 3.5.0, 3.3.0. AIR 31. Tested only on Android 9.0. Video loaded from external URL.
iOS, Emulator looks OK.