Need help with real video files

Author Message

h8 me

Thursday 12 May 2005 5:19:03 am

hi,

i'm trying to include a real-audio file into an existing template. i tried to include the standard full view template (slightly moddified) into a template section where i fetched the object.

{* Real video - Full view *}

<div class="content-view-full">
    <div class="class-real_video">

    <h2>{$:item.name}</h2>

    <div class="attribute-short">
        {attribute_view_gui attribute=$:item.data_map.description}
    </div>

    <div class="content-media">
    {let attribute=$:item.data_map.file}
        <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
                {section show=$attribute.content.width|gt( 0 )}width="{$attribute.content.width}"{/section} {section show=$attribute.content.height|gt( 0 )}height="{$attribute.content.height}"{/section}>
        <param name="src" value={concat("content/download/",$attribute.contentobject_id,"/",$attribute.content.contentobject_attribute_id,"/",$attribute.content.original_filename)|ezurl} />
        <param name="controls" value="{$attribute.content.controls}" />
        <param name="autostart" value="{section show=$attribute.content.is_autoplay}true{/section}" />
        <embed src={concat("content/download/",$attribute.contentobject_id,"/",$attribute.content.contentobject_attribute_id,"/",$attribute.content.original_filename)|ezurl}
               {*pluginspage="{$attribute.content.pluginspage}"*}
               pluginspage="http://real.com"
               type="audio/x-pn-realaudio-plugin"
               {section show=$attribute.content.width|gt( 0 )}width="{$attribute.content.width}"{/section} {section show=$attribute.content.height|gt( 0 )}height="{$attribute.content.height}"{/section} autostart="{section show=$attribute.content.is_autoplay}true{/section}"
               controls="{$attribute.content.controls}" >
        </embed>
        </object>
    {/let}
    </div>

    </div>
</div> 

but it doesn't work. how could i manage to show a media file into a template? just with the {attribute_view_gui} doesn't work either.

Sorry for the perhaps stupid question, but i wasn't able to find ANYTHING on that topic.

thx in advance

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

Main resources:

Total runtime0.7701 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 590.4766152.6250
Module start 'layout' 0.00540.0033 743.101639.4609
Module start 'content' 0.00880.7594 782.5625408.1172
Module end 'content' 0.76820.0019 1,190.67978.1641
Script end 0.7701  1,198.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4384160.0002
Check MTime0.00140.1869160.0001
Mysql Total
Database connection0.00080.106610.0008
Mysqli_queries0.731695.0015460.0159
Looping result0.00050.0625440.0000
Template Total0.738895.920.3694
Template load0.00230.292220.0011
Template processing0.736595.638320.3683
Template load and register function0.00030.035210.0003
states
state_id_array0.00090.120110.0009
state_identifier_array0.00130.166520.0006
Override
Cache load0.00180.230990.0002
Sytem overhead
Fetch class attribute can translate value0.00120.159510.0012
Fetch class attribute name0.00080.099110.0008
XML
Image XML parsing0.00010.012610.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0830100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs