(Adds victims taken to a hospital, description of scene)
SAN FRANCISCO, April 3 (Reuters) - Police said on Tuesday they were responding to an "active shooter" at YouTube's headquarters near San Francisco, as witnesses described seeing blood on the floor and stairs and casualties were reported.
Police in San Bruno warned people in a Twitter message to stay away from the address where YouTube, owned by Alphabet Inc's Google, is based.
"We are responding to an active shooter. Please stay away from Cherry Ave & Bay Hill Drive," San Bruno police said on Twitter. The local CBS affiliate reported that casualties were taken to a San Francisco hospital.
A YouTube product manager, Todd Sherman, described on his Twitter feed hearing people running, first thinking it was an earthquake before he was told that a person had a gun.
"At that point every new person I saw was a potential shooter. Someone else said that the person shot out the back doors and then shot themselves," Sherman said on Twitter.
"I looked down and saw blood drips on the floor and stairs. Peaked around for threats and then we headed downstairs and out the front," Sherman said.
A police dispatcher said by telephone that it was an "active situation," declining to elaborate.
Google told NBC news in a written statement that it was coordinating with local authorities.
"Customers said they heard what could have been gunshots when they were on their way here," Natalie Mangiante, an employee at Big Mouth Burgers located near the YouTube building, said by phone. Mangiante said she did not see or notice anything.
Local television images showed YouTube employees walking out of the building with their hands raised.
Last month, YouTube announced it would ban content promoting the sale of guns and gun accessories as well as videos that teach how to make guns. (Reporting by Paresh Dave; Additional reporting by Gina Cherelus in New York and Alex Dobuzinskis and Dan Whitcomb in Los Angeles; Editing by Peter Cooney)