New Yorkers just got a major wake-up call: videos that document a shocking disrespect for city cops — and cops’ equally alarming failure to respond.

If the trend continues, it’s hard to see how the NYPD can remain effective. And Mayor Bill de Blasio’s mealy-mouthed declaration that such behavior is “unacceptable” is no way to turn things around.

In each of the films, young men challenge police, taunting them and testing how much abuse they’ll take. One shows officers doused with buckets of water as bystanders laugh. The cops completely ignore their abusers.

In another, officers are splashed while in the middle of making an arrest. One is even beaned on the head with a bucket. Yet the cops don’t even turn to face their attackers.

In a third, a woman talking to cops gets repeatedly soaked, with nary a peep from the police. It doesn’t exactly inspire confidence in public safety.

A clip posted Tuesday shows a provocateur taunting two officers on the subway, repeatedly yelling in their faces: “Freedom of speech: S - - k my d - - k.”

The miscreants clearly believe abusing cops will bring no consequences. The lack of response only reinforces that notion.

The police aren’t totally at fault: They’ve been trained and retrained not to “overreact.” And the idea that cops are the bad guys and it’s open season on them has been building for years — fueled by, among others, de Blasio himself.

He first ran for mayor vowing to rein in NYPD “racism” and has presided over a steady increase in the toleration of public disorder, from street homelessness to public toking and peeing.

After the assassination of two police officers in late 2014, he dropped his open talk of the dangers cops pose to young black men — but he’s recently revived it as part of his presidential run.

Meanwhile, police fear video of them taking necessary action will be taken out of context in disciplinary proceedings.

The good news: No one was seriously hurt in the attacks. And NYPD Chief of Department Terence Monahan vows that “arrests will be made” based on the videos.

But restoring a proper respect for the men and women in blue will take a lot more. Police and the public need to know that de Blasio and other leaders stand with the police, not against them.

The alternative is law-and-order disaster.