A professor at the University of Toronto’s Scarborough Campus inadvertently played a pornographic video to a packed lecture hall on Monday morning, according to multiple reports on social media.

The campus newspaper The Varsity said the incident apparently happened at the start of Steve Joordens’s lecture for an introductory psychology class with about 500 students present.

One of the students reportedly recorded the mishap on Snapchat and posted it elsewhere online.

The school said it was offering support to anyone who was disturbed.

“We can’t discuss personnel matters. But, we are aware of the situation and are encouraging students who are feeling unsettled to speak with staff at the Health & Wellness Centre,” spokesman Don Campbell said.