From my (admittedly non-professional) point of view, what he did was stupid, not criminal; that said, in Canada, he's be worse off:
Canada's Criminal Code prohibits child pornography, defined as follows:
b)Written material, visual representation or audio recording that advocates or counsels sexual activity with a person under the age of eighteen years that would be an offence under this Act or whose dominant characteristic is the description, for a sexual purpose, of sexual activity with a person under the age of eighteen years that would be an offence under this Act; or...
(as cribbed from
www.duhaime.org)
I think this guy is basically being charged with 'distributing material harmful to minors, creating without the knowledge or consent of their (the childrens) legal guardians such material, which displays or references sexual behaviour in a way that is harmful to said children,' which is a really nebulous thing, but allows the D.A. an opportunity to pin this poor schmuck to the wall, and broaden the ability of the courts to stomp of free speech, if it in any way involves kids.
It's absolutely stupid, and while it's more properly an obscene act, he's probably going to get screwed for having a dumb idea, and not thinking it through before posting it to a globally accessible media platform.
Here's a scary thought: youtube may have to pull or remove everything that has a childrens show character in it that has been edited to include foul language or sexual themes if the D.A. wins this case, or a lot of people as going to be getting hit with these kinds of charge.