Play the video 2 seconds after scan

Hi Everybody

Is there a way of offsetting the playback of an alpha mp4 video file so that it plays two seconds after the content loads? We’re not sure if there’s an option we can use on the timeline or if there’s some code we can implement into the scene to make this work.

Heres a screenshot of the code at the moment.

33677593_10156472029576564_1193726348208635904_n

Our fallback option is to produce a longer video with a black screen for the first two seconds, but I’m trying to keep the file size as small as possible for smoother playback and faster load times.

Would Z.Video be the answer? For our project were not streaming the video, as its an alpha cutout from another file to create a cutout animation.

Is there a way?

M

Check out the Z.after function:
https://docs.zap.works/studio/scripting/introduction/general-principles/#zafterms-func