YouTube has changed its secretive search algorithms in response to the spread of conspiracy theory videos about the mass shooting in Las Vegas.

The home-video behemoth came under fire in the wake of the shooting, when several unsubstantiated claims made their way into the top new results about the massacre. Videos such as "Proof Las Vegas Shooting Was a FALSE FLAG attack—Shooter on 4th Floor" made it into the “Top News” section on Tuesday, just two days after the shooting occured, according to the Wall St Journal.

But YouTube has since changed its search algorithms to promote more reputable news, a source close to the company told The Independent. The changes had been planned for months, the source added, but were moved up in the wake of the shooting.

By Friday, the top ten results for “Las Vegas shooting” all came from news outlets, or contained direct uploads of footage from the event.

But the company is still working on its “Up Next” feature, which suggests related content to watch at the end of a video, according to the Journal. On Friday, watching a video titled “Las Vegas Shooting: 6 QUESTIONS - False Flag? Multiple Shooters? Paddock patsy?” lead to suggested videos like “A False Flag Patsy Event Is Unfolding Before Our Eyes” and “CNN Crisis Actor Caught Red Handed”.

Suggested videos are displayed next to a YouTube video titled "Las Vegas Shooting: 6 QUESTIONS" (YouTube/Emily Shugerman)

YouTube uses secret algorithms to determine which videos appear in its “Top News” and “Up Next” section. The company has said publicly that it factors in a video’s popularity and a user’s history when choosing which videos to display, but has declined to reveal more.

The company says it regularly deletes videos flagged for violating its community guidelines. These guidelines cover everything from nudity to child endangerment, but do not discuss conspiracy theories or unverifiable claims. YouTube declined to provide details to The Independent on its standards regarding conspiracy theories.

The company told the Guardian, however, that a video called “Las Vegas ‘Shooting’ … Did It Actually Happen?” did not violate its standards. The video – which questions whether the shooting was “faked” by paid actors – had amassed almost 350,000 views by Friday morning.

Las Vegas shooting – in pictures Show all 15 1 /15 Las Vegas shooting – in pictures Las Vegas shooting – in pictures People scramble for shelter at the Route 91 Harvest country music festival after gun fire was heard Getty Las Vegas shooting – in pictures People carry a person at the Route 91 Harvest country music festival after shots were fired David Becker/Getty Las Vegas shooting – in pictures People run from the Route 91 Harvest country music festival after gun fire was heard David Becker/Getty Las Vegas shooting – in pictures A handout photo released via Twitter by Eiki Hrafnsson (@EirikurH) showing concertgoers running away from the scene (C) after shots range out at the Route 91 Harvest festival on Las Vegas Boulevard EPA/Eiki Hrafnsson Las Vegas shooting – in pictures People lie on the ground at the Route 91 Harvest country music festival after hearing gun fire Getty Las Vegas shooting – in pictures A man in a wheelchair is taken away from the Route 91 Harvest country music festival after hearing gun fire David Becker/Getty Las Vegas shooting – in pictures People stand on the street outside the Mandalay Bay hotel near the scene of the Route 91 Harvest festival on Las Vegas Boulevard EPA/Paul Buck Las Vegas shooting – in pictures FBI agents confer in front of the Tropicana hotel-casino after a mass shooting during a music festival on the Las Vegas Strip Reuters/Las Vegas Sun/Steve Marcus Las Vegas shooting – in pictures Las Vegas police run by a banner on the fence at the Route 91 Harvest country music festival grounds after shots were fired David Becker/Getty Las Vegas shooting – in pictures An injured person is tended to in the intersection of Tropicana Ave. and Las Vegas Boulevard after a mass shooting at a country music festival Ethan Miller/Getty Las Vegas shooting – in pictures Metro Police officers pass by the front of the Tropicana hotel-casino after a mass shooting at a music festival on the Las Vegas Strip Reuters/Las Vegas Sun/Steve Marcus Las Vegas shooting – in pictures A woman sits on a curb at the scene of a shooting outside of a music festival along the Las Vegas Strip AP/John Locher Las Vegas shooting – in pictures A cowboy hat lays in the street after shots were fired near a country music festival in Las Vegas Getty Las Vegas shooting – in pictures Las Vegas Metro Police and medical workers stage in the intersection of Tropicana Avenue and Las Vegas Boulevard South after a mass shooting at a music festival on the Las Vegas Strip Reuters/Las Vegas Sun/Steve Marcus Las Vegas shooting – in pictures Sheriff Joe Lombardo (2-R) speaking during a press briefing in the aftermath of the active shooter incident on Las Vegas Boulevard EPA

The company did pull the aforementioned video calling the shooting a “false flag attack," however. YouTube also gave the creator's account a penalty strike. Accounts that receive more than three strikes are terminated.

The video’s creator, Jake Morphonios, claimed the clip garnered 2.5m views before it was deleted. He pushed back against the video's deletion, saying he was simply offering an opinion.