Police in Saanich, a Victoria suburb, say the motorcycle in the video is this Yamaha R1, which was seized in April. (CBC)

A man allegedly responsible for a viral YouTube video showing a 300 km/h motorcycle ride on a highway outside Victoria, B.C. has turned himself in to police, Kelowna RCMP say.

In June, Saanich police issued an arrest warrant for Randy George Scott, 25, for the dangerous operation of a motor vehicle.

Scott is in custody after turning himself into police Tuesday night and will appear in court on Wednesday, Kelowna RCMP Const. Kris Clark said.

"He came to the front counter and made an admission as to his identity — that he had a warrant out for his arrest," Clark said.

The video shows the driver of a motorcycle going at high speeds, at one point nearing 300km/h, weaving between vehicles and sometimes passing along the centre line. At the time, veteran traffic officers and professional motorcycle riders were shocked by the footage, and said it was lucky no one was killed.

"It should be noted that videos such as this glorify dangerous driving behaviours, which is a direct contradiction to our commitment to road safety" Clark said.

The video was posted to YouTube on April 8, and just over a week later, Saanich police seized a blue Yamaha R1 — the motorcycle believed to have been used in the video.

Officers said the bike was registered to the rider's mother. They said the rider was unlicensed, uninsured and believed to be a 25-year-old man with 25 previous infractions.