Forums / Developer / create a custom tag to embed external videos

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

create a custom tag to embed external videos

Author Message

Fernando Marinò

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 Exponential. 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 Exponential already use?