A YouTube video shows a stunt airplane owned by Lancaster-based Viper Airshows nearly slamming into a person with a camera on the runway of the Lancaster Regional Airport near Dallas.

The pilot says it was a well planned stunt to produce a viral video. He said the incident was not an accident.

The city manager says the pilot has an aerobatic waiver with the Federal Aviation Administration that allows him to perform practice routines for his stunt shows at the airport, provided he does so during the day in good weather, stays within specifically outlined boundaries and follows other safety measures.

However, an FAA spokesperson says there is always a requirement in place that people on the ground are never in danger. The agency is investigating whether any policies were broken.