Ok I found out that the error is not caused by the attached code. Somewhere else is the problem !
Anyway, how can I embed youtube videos in my article ? I dont like the idea of switching in HTML mode, since novice editor-content users dont know anything about HTML or stuffs like that.
I mean, is there a user-friendly interface to do this job?