Close call: Video shows train narrowly missing teenagers on tracks

Agency posts video to show dangers of walking on railway tracks

Three teenagers came within feet of being run over by a speeding train in Canada.

Transit officials posted video of the incident, which happened in Toronto earlier this month.

[TRENDING: Police snipers protect Florida divers during water rescue in alligator-infested pond | Odds continue to increase for development of tropical system in Gulf | Become a News 6 Insider (it’s free!)]

The video shows the train approaching a bridge when the teens appear on the tracks.

The train engineer applied the brakes and blew the horn, but officials said there was no way of stopping the train in time.

Luckily, the teens managed to get out of the way with just moments to spare.

The Metrolink Transit Agency says it posted the video to appeal to parents and show the dangers of walking on railway tracks.