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

What is Framer? Join the Community
Return to index
Kev Craven
Posted Jul 20 - Read on Facebook

Can't find anything in docs, but I'm sure it's very simple. How can I delay the start of video playback by 2 seconds triggered by a TouchEnd event?

4 Comments

Benjamin Den Boer

Hey Kev Craven - you can simple include a Utils.delay 2, → in your TouchEnd event and call the .play() method within it. :-)

Kev Craven

Thank you! One more quick one (I hope) I want the video to loop, as it is essentially a looping animation video

Benjamin Den Boer

Hmm, you could listen to the .onended function and then reset the currentTime to 0 and once again play the video.

Kev Craven

okay thanks for your help :)

Read the entire post on Facebook