clean up and implemented date duraction for videos