TORONTO -- Electronic dance music producer Deadmau5 has apologized to fans after going on a profanity-filled video rant about Justin Bieber and then quitting social media.

The DJ from Niagara Falls, Ont., whose real name is Joel Zimmerman, writes on his Tumblr account that he's been "dealing with some depression issues."

He adds he considers himself "far from emotionally stable" and is sorry for abruptly leaving social media and leaving his fans and supporters out of the loop.

In a video posted on YouTube earlier this month, the four-time Juno Award winner is seen slamming Bieber for taking credit for the work of producers and writers on his new album "Purpose."

Smoking a cigarette and drinking a can of pop, he also criticizes producers for letting Bieber take such credit.

Then a few days ago, Zimmerman reportedly deleted his Twitter and Facebook accounts, among others.

"Deactivating social media for a minute has nothing at all to do with popstars or dubstep tryhards," he writes on Tumblr, adding "it was a kneejerk reaction to something" he saw coming a long time ago.

Zimmerman adds he plans to slow things down during the holidays and then return to the studio in the new year.