Chandler was born a male however in name only, and is actually intersex, meaning she had male genitalia, but no testicles, while also having a uterus and no ovaries.
Apparently the Chelsea Handler sex tape was made shortly after she moved to Los Angeles, and before she was ever famous.