How to insert delay in function?

Hi Team,

One of my use case requires me to play a video using the video node and then delay it for the duration of the video. Now I’d like to know -

  1. How to have dynamic delays in text node
  2. How to add delay in function

Regards,
Manthan V Rathod