Do students have a right to make fun of their teachers online?

Recently, Pennsylvania courts defended students who had been suspended for making a parody video of their teachers.