Added function to trigger each 2 seconds video is playinh