finish video function only for add