You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Marc Uton <mu...@hybrigenics.com> on 2004/10/08 11:30:44 UTC

insert flash document

Hello,

I have to insert a flash (smg.swf) document to a page.
I tried to use Kupu and inserted it as it was an image. My understanding 
of the lenya (1.2) documentation about static resources was that lenya 
was smart enough to understand that is was a flash document and to send 
it in a proper way to the client.

When I browse the page with Internet Explorer, I can only see a little 
red cross instead of the flash presentation.

When I look at the xhtml source I see:

<img height="30" loop="1" src="flash/smg.swf" start="fileopen" width="28"/>

When I look in tomcat log file, I see that the  flash was downloaded in 
a correct way:

10.4.2.183 - - [08/Oct/2004:11:22:36 +0100] "GET 
/lenya/default/live/flash/smg.swf HTTP/1.1" 200 -

My guess is that a wrong mime-type is sent to the client for this flash 
document.  Can someone please advise what I have to do to make it works?

Many thanks

--
Marc Uton

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: insert flash document

Posted by Andreas Hartmann <an...@apache.org>.
Jochen Seifarth wrote:
> Marc Uton <muton <at> hybrigenics.com> writes:
> 
> 
>>My guess is that a wrong mime-type is sent to the client for this flash 
>>document.  Can someone please advise what I have to do to make it works?
> 
> 
> Have cou checked that you have the expected MIME-Type in resources.xmap and/or
> resources-shared.xamp for your file .swf extension ? 
> 

I just checked it, the mime type is application/x-shockwave-flash
(at least in 1.4-dev)

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: insert flash document

Posted by Jochen Seifarth <Jo...@web.de>.
Marc Uton <muton <at> hybrigenics.com> writes:

> My guess is that a wrong mime-type is sent to the client for this flash 
> document.  Can someone please advise what I have to do to make it works?

Have cou checked that you have the expected MIME-Type in resources.xmap and/or
resources-shared.xamp for your file .swf extension ? 

HTH
Jochen



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org