Megavideo in ez publish?

Author Message

Juan Pablo Cancino

Friday 23 July 2010 7:20:51 pm

I'm a new in this script and I need to know if is possible to publish a megavideo video with this format:

<object width="640" height="434"><param name="movie" value="http://www.megavideo.com/..."></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/..." type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="434"></embed></object>

Thanks

Thiago Campos Viana

Saturday 24 July 2010 11:07:32 am

Yes, it is, you can:

  • Create an online editor custom tag.
  • Create a class and a template.
  • Create a custom eZ flow block.
  • Create a datatype.

But I think it's not supported by default install.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Doug Brethower

Monday 26 July 2010 7:33:19 am

Welcome!

You may find that enabling html in the literal tag and putting your object content within that tag suits your need.

The literal tag in the eZ Online Editor (ezoe) in a default install has a class of "none" and that is the only choice.

To embed content wrapped in object tags, "html" must be an option for this literal tag.

There are security implications that should be understood before enabling this option. Basically anyone allowed access to the online editor, can potentially insert some nasties into the site content. Only consider enabling the html literal tag if access to the online editor is restricted to trusted parties.

Adding the html option is as simple as editing /settings/override/content.ini.append to add these lines:

[literal]

AvailableClasses[]

AvailableClasses[]=html

Then html should appear as an option.

More detailed discussion re video at http://webportalmaster.com/index.php/eng/eZ/Advanced/Serving-iPad-Capable-Video-from-eZ-Publish

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

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 18:36:48
Script start
Timing: Jan 18 2025 18:36:49
Module start 'layout'
Timing: Jan 18 2025 18:36:49
Module start 'content'
Timing: Jan 18 2025 18:36:49
Module end 'content'
Timing: Jan 18 2025 18:36:49
Script end

Main resources:

Total runtime0.8386 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.3125152.6094
Module start 'layout' 0.00820.0051 741.921939.4141
Module start 'content' 0.01330.8236 781.3359584.5234
Module end 'content' 0.83690.0016 1,365.859412.1797
Script end 0.8385  1,378.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3980160.0002
Check MTime0.00130.1518160.0001
Mysql Total
Database connection0.00120.137310.0012
Mysqli_queries0.778592.8334590.0132
Looping result0.00060.0761570.0000
Template Total0.781493.220.3907
Template load0.00210.246620.0010
Template processing0.779392.932720.3897
Template load and register function0.00060.065710.0006
states
state_id_array0.00220.260310.0022
state_identifier_array0.00160.193520.0008
Override
Cache load0.00180.2092280.0001
Sytem overhead
Fetch class attribute can translate value0.00080.090030.0003
Fetch class attribute name0.00180.210650.0004
XML
Image XML parsing0.00120.145730.0004
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00100.1186230.0000
String conversion0.00000.001240.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
3content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs