Added cors option for videos and changed cloning