The court heard footage was passed to Merseyside Police after undercover reporter Sasha Hinde spent seven weeks as an employee at the school in Wallasey leading up to May.
Sentencing Millar, District Judge James Hatton said: "This is a serious, but I accept unusual, case because it was brought to light by an investigation by an undercover reporter.
"One can only speculate if that investigation had not occurred whether the behaviour demonstrated in this case may well have carried on unabated."