(Flash)Movie not loaded

Author Message

Felix Laate

Tuesday 28 October 2003 11:29:16 am

Hi all!

I've made a class for flash and this simple template:

{* Flash template *}

{default content_version=$node.contentobject_version_object}

{attribute_view_gui attribute=$content_version.data_map.title}
{attribute_view_gui attribute=$content_version.data_map.description}

{attribute_view_gui attribute=$content_version.data_map.flash}

{/default}

But the movie doesn't load..

Does anyone know how to handle movies in ez3.x

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Maggie Martin

Sunday 14 December 2003 11:22:47 pm

I, too would like to know this.

I have created a content class "flash", created an instance of that object

created the class id override template, added the relevant information to the settings/site access/ mysite/ override.ini.php file

added this code on the template that I want that file to appear:

{* flash anim *}
{let flash=fetch(content,node,hash(node_id,101))}
{node_view_gui view=full content_node=$flash}
{/let}

RESULTS:
The flash file does not load and the browser givers this error message:

The page ?my site/ my page? has content of MIME type ??. You do not have a plug-in installed for this MIME type, but one should be available on this page:

____________

but the page referred to is blank

obviously the browser is NOT getting the info it needs

To test my set up I coded the template the "old fashioned" way
as descibed here: http://www.ez.no/developer/ez_publish_3/documentation/incoming/developing_projects/flash/how_to_display_a_flash_movie_in_pagelayouttpl

and all works fine so the file works, apache is configured correctly ...

but I want to be able to have flash files handled dynamically -- as content objects.

what to do??
do I need to change ezmedia.php or ezmediatype.php or ezmedia.tpl or??

Thanks for any help!

James Packham

Monday 15 December 2003 5:34:12 am

Sorry - ignore

Regards,

James

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:22:44
Script start
Timing: Jan 18 2025 18:22:44
Module start 'layout'
Timing: Jan 18 2025 18:22:44
Module start 'content'
Timing: Jan 18 2025 18:22:45
Module end 'content'
Timing: Jan 18 2025 18:22:45
Script end

Main resources:

Total runtime1.2153 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.0060 587.9063152.6250
Module start 'layout' 0.00600.0029 740.531339.4453
Module start 'content' 0.00891.2049 779.9766577.5234
Module end 'content' 1.21380.0015 1,357.500012.1719
Script end 1.2153  1,369.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2645160.0002
Check MTime0.00130.1103160.0001
Mysql Total
Database connection0.00120.096410.0012
Mysqli_queries1.155395.0579590.0196
Looping result0.00060.0497570.0000
Template Total1.178497.020.5892
Template load0.00210.169420.0010
Template processing1.176496.793520.5882
Template load and register function0.00010.008410.0001
states
state_id_array0.00100.085110.0010
state_identifier_array0.00150.123320.0007
Override
Cache load0.00170.1409430.0000
Sytem overhead
Fetch class attribute can translate value0.00070.060530.0002
Fetch class attribute name0.00100.081350.0002
XML
Image XML parsing0.00110.094330.0004
class_abstraction
Instantiating content class attribute0.00000.000850.0000
General
dbfile0.00210.1710220.0001
String conversion0.00000.000640.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
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/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: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs