The phrase “to play ball with one” means: To cooperate with one; to accept as a fellow; also, sometimes to accept as a friend or a confidant.
In its literal sense the expression first alluded to the necessity for each member of a ball team, baseball or football, to cooperate with all other members in all possible ways during any game in order to play most effectively.
From an admonition by the coaches of successful teams, the expression extended into social and commercial usage in the 1920’s.