Add movie

Author Message

Przemek Niemczuk

Friday 06 February 2009 1:46:21 am

Add Video

How do I add a YouTube video of the content of an article?

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

regards,

Przemek

primo

Łukasz Serwatka

Friday 06 February 2009 2:39:30 am

Hi,

This might help:
http://ez.no/developer/contribs/template_plugins/youtube_template_plugin

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/xml_tags#custom_tags

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

Przemek Niemczuk

Friday 06 February 2009 3:26:19 am

This version of the extension is ideal, because the easy to use, but is not working in ez 4.0 - harm.

An error pops up:

Fatal error: Class 'ezcFile' not found in /lib/ezutils/classes/ezautoloadgenerator.php on line 283
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

primo

Łukasz Serwatka

Friday 06 February 2009 4:29:14 am

Hi,

It looks like eZ Components are missing in your environment. You can install them as stated on that page:
http://ezcomponents.org/docs/install

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 19 2025 01:06:51
Script start
Timing: Jan 19 2025 01:06:51
Module start 'layout'
Timing: Jan 19 2025 01:06:51
Module start 'content'
Timing: Jan 19 2025 01:06:52
Module end 'content'
Timing: Jan 19 2025 01:06:52
Script end

Main resources:

Total runtime0.6655 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.1328152.6094
Module start 'layout' 0.00680.0035 741.742239.4141
Module start 'content' 0.01040.6536 781.1563551.6250
Module end 'content' 0.66390.0015 1,332.781312.1953
Script end 0.6654  1,344.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4848160.0002
Check MTime0.00130.1986160.0001
Mysql Total
Database connection0.00080.122810.0008
Mysqli_queries0.611591.8939600.0102
Looping result0.00060.0919580.0000
Template Total0.617792.820.3089
Template load0.00210.308120.0010
Template processing0.615792.520020.3078
Template load and register function0.00020.029310.0002
states
state_id_array0.00160.244810.0016
state_identifier_array0.00360.533720.0018
Override
Cache load0.00170.2588230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.100720.0003
Fetch class attribute name0.00170.248050.0003
XML
Image XML parsing0.00070.098120.0003
class_abstraction
Instantiating content class attribute0.00000.002160.0000
General
dbfile0.00090.1290180.0000
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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/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: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs