Has anyone got fastSeek working with videos? I have the following code, but it always starts the video at 0
I think video needs a bit of time to load before you can apply .fastSeek. Managed to make it work with a short delay. This might not be ideal though vid = new VideoLayer video: "video.mp4"
vid.player.play()Utils.delay 0.25, -> vid.player.fastSeek(2)
Is there an on ready event you can listen for
There is yeah. But it doesn't work as expected. In the end I found setting currentTime was more reliable.