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

What is Framer? Join the Community
Return to index
Laürici Dumitru
Posted Jan 23 - Read on Facebook

Hello Framer community!

Have you ever used "layerA.player.fastSeek(numer_of_seconds)" successfully?

I have a video layer but, instead of playing it normally, I want to use Utils.Modulate to link the duration to scrolling - so you can basically scroll through the frames of the video. I've tried fastSeek and "layerA.player.currentTime = numer_of_seconds" but it doesn't seem to do anything.

I can definitely print the currentTime while it's playing but for some reason I cannot seem to be able to set it.


Floris Verloop

Setting the currentTime property should update the video's play position. Here's a little demo that shows how you can skip through a video using modulate, currentTime and a scrollComponent:

Read the entire post on Facebook