youtube objects

Author Message

risto CMS user

Monday 14 August 2006 4:47:28 am

I would like to embed youtube objects in ez. the code looks like this:

<param name="movie" value="http://www.youtube.com/v/ZgE9dWRU_vo"></param><embed src="http://www.youtube.com/v/ZgE9dWRU_vo" type="application/x-shockwave-flash" width="420" height="345"></embed></object>

ez is telling me embed needs href. what do I need to get this working. anywon got an example?

Ɓukasz Serwatka

Monday 14 August 2006 11:14:41 pm

Hi risto,

Create new custom tag, where as parameter you can use path to the movie.
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/xml_block#custom_tags

http://ez.no/products/ez_publish/documentation/customization/components/datatypes/ezxmltext/custom_tags

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 14:53:12
Script start
Timing: Jan 18 2025 14:53:12
Module start 'layout'
Timing: Jan 18 2025 14:53:12
Module start 'content'
Timing: Jan 18 2025 14:53:14
Module end 'content'
Timing: Jan 18 2025 14:53:14
Script end

Main resources:

Total runtime1.2688 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.0391152.6250
Module start 'layout' 0.00630.0029 741.664139.4453
Module start 'content' 0.00921.2580 781.1094533.4531
Module end 'content' 1.26720.0016 1,314.56258.1797
Script end 1.2688  1,322.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2657160.0002
Check MTime0.00140.1141160.0001
Mysql Total
Database connection0.00060.047310.0006
Mysqli_queries1.211995.5109540.0224
Looping result0.00060.0509520.0000
Template Total1.229996.920.6150
Template load0.00250.193720.0012
Template processing1.227496.736320.6137
Template load and register function0.00020.013810.0002
states
state_id_array0.00190.147510.0019
state_identifier_array0.00280.219620.0014
Override
Cache load0.00210.1624130.0002
Sytem overhead
Fetch class attribute can translate value0.00100.078220.0005
Fetch class attribute name0.00130.104540.0003
XML
Image XML parsing0.00530.419820.0027
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00800.6266240.0003
String conversion0.00020.013240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs