A Scarborough woman got a ban after filming a young child while driving.
Kerry White, 35, compounded her offence by posting the video on Facebook.
The police have also posted the film on Facebook as a warning to others.
White filmed the child, who was in the passenger seat, while driving on Woodland Ravine and Manor Road in Scarborough on 16 December 2017.
She was caught after a member of the public reported her video to the police, who identified the vehicle and location. They took the film from White’s phone.
White refused to answer questions and pleaded not guilty to driving a vehicle dangerously.
But prior to her trial at York crown court, she changed her plea to guilty. She was given a 12-month driving ban and a six-month prison sentence, suspended for a year. And she was ordered to do 20 days unpaid work and pay a £115 victim surcharge.
Road policing officer Mark Patterson said: “As the footage clearly shows, White’s driving that day was highly irresponsible and incredibly dangerous. It’s only through sheer luck that she wasn’t involved in a serious collision.
“Her blatant disregard for the safety of the child and traffic laws could have ended tragically and the consequences of her actions had she lost control of her vehicle don’t bear thinking about”.
The film can be seen on Scarborough Review’s Facebook page.