Extended add_video to take duration in seconds.