Parse errors when I insert code from youtube
  • Hi,

    When I try to insert the following code from youtube:


    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/n6WYevwt5gU?fs=1&amp;hl=el_GR&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/n6WYevwt5gU?fs=1&amp;hl=el_GR&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>


    in my body, in preview mode I get the following error :


    Parse errors:

    Invalid use of object of type 'user'. Use $campsite->user->[property_name] to display a property of this object.

    Invalid property Lead_and_SMS of object Article



    What seems to be the problem ?

    Regards,
  • 1 Comment sorted by
  • 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?