How does one use Flash as a content object?

Author Message

Maggie Martin

Wednesday 17 December 2003 9:26:09 pm

I have created a content class "flash", created an instance of that object
(datatype media)

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:

____________

And then 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_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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.