WEST PALM BEACH, Fla. — Prosecutors will not be able to release surveillance videos before the trials of the New England Patriots owner Robert K. Kraft and 24 other men charged with soliciting prostitution at a massage parlor in Jupiter, Fla., a circuit court judge ruled Monday afternoon.

Judge Joseph Marx broadened a previous order from another judge, who last week temporarily blocked the release of videos involving Mr. Kraft. Judge Marx’s order covers videos of all 25 men in the case, not just Mr. Kraft, and surveillance videos taken last fall outside of the Orchids of Asia Day Spa, not only those from January that include Mr. Kraft. Still photographs are not covered by the order.

Judge Marx said the videos can be released once one of these conditions occurs: trial juries are sworn in each case; the cases are resolved by plea agreement; the state drops the charges; or at a time when the judge finds the fair trial rights of the men are not at risk.

Judge Marx made the ruling in a hearing in the cases of Hua Zhang, the spa’s owner, and Lei Wang, the spa’s manager who is accused of performing the sex act on Mr. Kraft. The women have pleaded not guilty to several charges related to prostitution.