The commander of a US aircraft carrier has come under fire for having his crews watch videos he produced with slurs against gays, scenes with simulated masturbation, and service members showering together.