Saturday 01 August 2009 5:33:18 am
the problem is simple, I want a method to embed external videos in my pages. The solutions I thought was to create a custom tag similar to the literal one, that instead keep unescaped only the tag <object>, <param> and <embed>. But I'm encountering some difficulties to do so.
Why this drastic solutions? Well, essentially because there's not only you tube, and there's not only flash.
Some hints of you? I do not have much problem creating a custom tags, but I'm unfamiliar with ez publish. The problem above could be easly solved using the php function strip_tags, but I still do not understand how ezp works. What is given to me as param of the custom tag? the original text or an already escaped/transformed one? there will be no problem with the embed tags, that ezpublish already use?
|