Finally got the logic for firing the backend scripts on a certain playback time