Added time to the YouTube functionality.