This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Rory Smyth
Posted Jan 19 - Read on Facebook

Has anyone got fastSeek working with videos? I have the following code, but it always starts the video at 0


Artem Tutov

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"
Utils.delay 0.25, -> vid.player.fastSeek(2)

Jordan Robert Dobson

Is there an on ready event you can listen for

Rory Smyth

There is yeah. But it doesn't work as expected. In the end I found setting currentTime was more reliable.

Read the entire post on Facebook