video class for article

Author Message

christian stampf

Monday 21 April 2003 12:41:22 am

i tried to create a class to store/playback video in an article but failed. tried to do so by just copying the image-class... what i do not understand is, where the actual HTML will be created from.
could you point me into the right direction?

thanks!

Peter Bailey

Monday 21 April 2003 7:15:58 am

What HTML? You mean the HTML output for regular viewing?

/design/standard/templates/node/view/full.tpl

You can override this template for any class, such as your video class, by creating an override template.

/design/(your_design)/override/templates/node/view/full_class_(classID).tpl

christian stampf

Tuesday 22 April 2003 10:58:22 pm

thanks for your reply. what i am really getting to is... how to define the <MEDIA> tag (that was used in version 2.7) to show or include the video in the article?
how does ez-publish-3 know this is a video and not an image?

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 30 2025 19:34:58
Script start
Timing: Jan 30 2025 19:34:58
Module start 'layout'
Timing: Jan 30 2025 19:34:58
Module start 'content'
Timing: Jan 30 2025 19:34:59
Module end 'content'
Timing: Jan 30 2025 19:34:59
Script end

Main resources:

Total runtime0.9069 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1016151.1953
Module start 'layout' 0.00550.0038 739.2969220.6563
Module start 'content' 0.00940.8968 959.95314,408.5000
Module end 'content' 0.90610.0007 5,368.45317.8750
Script end 0.9069  5,376.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3759160.0002
Check MTime0.00130.1378160.0001
Mysql Total
Database connection0.00080.090610.0008
Mysqli_queries0.827391.2235570.0145
Looping result0.00050.0541550.0000
Template Total0.856994.520.4285
Template load0.00170.184720.0008
Template processing0.855294.305920.4276
Template load and register function0.00120.130310.0012
states
state_id_array0.00080.083610.0008
state_identifier_array0.00060.069420.0003
Override
Cache load0.00140.1489160.0001
Sytem overhead
Fetch class attribute can translate value0.00170.188620.0009
Fetch class attribute name0.00190.211640.0005
XML
Image XML parsing0.00150.164220.0007
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00160.1784160.0001
String conversion0.00000.000940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 6

Time used to render debug report: 0.0001 secs