Fourth-graders at a school in Bedford got an eyeful after watching a taped math lesson.

School officials say the students saw a few seconds of "hardcore" pornography yesterday after the taped lesson rolled past the credits.

Bedford County Schools spokesman Ryan Edwards calls the incident a fluke, and says school officials are blaming it on a video reproduction company.

Edwards says the screen went blank after the credits and ... quote ... "then, all of a sudden, to everyone's shock and dismay, hardcore porn appears on the television screen."

He says the teacher rushed to turn off the T-V, but students still saw a few seconds of the porn. The principal sent a letter home to parents explaining the situation.

School officials called the company — based in Arizona — and asked them to look into the matter and to alert any other customers.

For now, all Bedford County schools have pulled the videos made by the same company.