MONTREAL -- A man has been granted bail after being charged in connection with a YouTube video in which someone wearing a Joker mask says one Arab would be murdered in Quebec every week.

Jesse Pelletier, 24, appeared in a Montreal courtroom Monday afternoon and was freed on various conditions.

He had been detained since last Wednesday on charges of uttering threats, possession of a false weapon, public incitement of hatred and hoax regarding terrorist activities.

The person in the video was wearing a Joker mask and could be seen brandishing what looked like a pistol as he made the threats and spoke about the Nov. 13 terrorist attacks in Paris that left 130 people dead.

His lawyer reiterated today the video was "a bad joke."

Pelletier is scheduled to return to court Jan. 18.

Pelletier, who has a bone defect from birth and suffered an accident about a year ago, appeared in court last week in a wheelchair.