Updated at 3:40 a.m. ET on Wednesday

A woman with an apparent grudge against YouTube for what she claimed was censoring and de-monetizing her videos, opened fire at the video-sharing service's San Bruno, Calif., headquarters, wounding several people before fatally shooting herself, according to police.

Police Chief Ed Barberini said the attack was carried out with a handgun and initially investigated the shooting as a possible domestic dispute.

In a later statement, the San Bruno Police Department said it was still investigating a motive for the shooting and that "at this time there is no evidence that the shooter knew the victims of this shooting or that individuals were specifically targeted."

Later, law enforcement officials identified the suspect as Nasim Najafi Aghdam, 39; however The San Jose Mercury News listed her age as 38.

The NBC affiliate in the Bay Area reports that Aghdam "had a robust presence on YouTube" and had posted in both English and Farsi, a language widely spoken in Iran.

A spokesman at Zuckerberg San Francisco General Hospital said it received three patients from the incident. The spokesman, Chief Communication Officer Brent Andrew, said one man, 36, was in critical condition; a woman, 32, in serious condition; and another woman, 27, in fair condition. No other information was released about the identities of the wounded or details of their wounds.

Barberini said that the police department received multiple reports of shots fired at 12:46 p.m. and officers arrived at the YouTube building just a couple of minutes later.

The officers arrived to a chaotic scene as people were fleeing the building. Officers found one person wounded outside and just a few minutes later they found a second individual, deceased, with what appeared to be self-inflicted wounds. Barberini says they then found two more people wounded.

One eyewitness, Zachary Voorhies, a senior software engineer at YouTube, told All Things Considered that he was preparing for lunch when a fire alarm went off. He and his team had exited the building and he was on his electric skateboard near the building's courtyard when he heard a commotion.

"I heard a man yelling out, 'Do you want to shoot me?' and about 25 feet away from him was somebody on the ground with an apparent gunshot wound in his stomach and he was bleeding out of his shirt and he wasn't moving," said Voorhies.

"When a police officer arrived on scene with an assault rifle, "that's when I realized that that was not someplace I needed to be," he added.

Another eyewitness, Jesse Pineda of San Bruno told the San Francisco Chronicle:

"[He] was getting a hamburger at Carl's Jr. across the street from the YouTube offices when he heard three shots in rapid succession. A young woman emerged from the office, shot in the left leg.He helped drag her into the restaurant before hearing more shots. He then ran back toward YouTube and looked through the doorway, where he saw a woman on the ground.'She was dead, I'm sure of it,' Pineda said. 'Those 10 shots were rapid fire — it was no mercy. There were four more shots after that. I wish I had had a gun but I didn't. I had to be smart and get out of there. I had to be fast.'"

In the immediate aftermath of the shooting, local TV news reports showed pictures of people leaving a building with their hands over their heads. Each person was being frisked by a police officer, apparently to make sure that no one posed a threat.

Later in the afternoon, Chief Barberini said that shooter was a woman who had died of self-inflicted wounds and had used a handgun.

The chief also said the YouTube building was evacuated and detectives were making arrangements to talk to people who were witnesses to the incident. Investigators were searching the building floor by floor, room by room, for any clues to what happened.

Google, the parent company of YouTube, tweeted an advisory to all of its employees in the San Francisco Bay Area to stay away from the area and that it had set up a helpline for employees.

In the wake of shootings elsewhere, YouTube recently announced it would start enforcing restrictions on videos that show gun violence.

According to NBC, in one video of the alleged shooter, Aghdam is superimposed over a background of what appears to be six-pointed Stars of David as she complains that her workout video has been age-restricted by YouTube.

"Many singers like Nicki Minaj, Miley [Cyrus] and many others ... are so inappropriate for children to watch [but] don't get age-restricted ... my videos, my workout video, gets age-restricted. This is what they are doing to vegan activists and many other people who try to promote healthy, humane and smart living."

According to The San Jose Mercury News:

"The night before Nasim Aghdam opened fire in a courtyard at YouTube's headquarters Tuesday afternoon, Mountain View police found the San Diego woman sleeping in her car.She had been reported missing by her family in Southern California, and her father Ismail Aghdam told police she might be going to YouTube because she 'hated' the company. Police called the family at 2 a.m. Tuesday to say she'd been found and that everything was 'under control,' her father said."

Mountain View, Calif., say they spotted a woman who went by the name Nasim Aghdam asleep in a car in a city parking lot early Tuesday morning and notified her family.

"Our officers made contact with the woman after the license plate of her vehicle matched that of a missing person out of Southern California," Katie Nelson, a spokeswoman for the department, said in an email received by the Mercury News. "The woman confirmed her identity to us and answered subsequent questions."

Ismail Aghdam said his daughter was a vegan activist and an animal lover, according to the newspaper.

"She told her family that YouTube had stopped paying her for the content she posted to the site, Ismail Aghdam said. YouTubers can receive payment for advertisements accompanying their videos, but the company 'de-monetizes' some channels for various reasons, meaning ads don't run with them," the Mercury News writes.

Copyright 2018 NPR. To see more, visit http://www.npr.org/.