You don't the permission to view this video
Yes, you need to know the width of the closet, but most rods are expandable. However, it’s best if you hit the stud. That way you are sure that it will hold lots of weight.
Find an independent merchant near you.