On 6/20/06, Jonas Lundberg <[EMAIL PROTECTED]> wrote:

...Do I need a dedicated flash reader component for this to work?...

A plain reader will work for the swf file, and you don't need the
mime-type parameter, the reader will figure it out. You might need
another reader for the flv file, with the correct mime-type as I don't
think the standard reader knows that one.

Passing parameters to flash is a bit more complicated, you need two
"versions" of them for the different browsers.

Here's a known good example from www.nouvo.ch, as you can see it uses
both <object> and <embed> tags, each with its own duplicated set of
parameters.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
width="570" height="470" id="nouvoscope-recorder" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie"
value="publication-static/www/swf/nouvoscope-recorder.v083.swf?flashServerUrl=rtmp://fms.flash.ch&amp;applicationPath=nouvoscope&amp;forumId=94-3&amp;inReplyTo=&amp;storagePath=2006/06/20/22">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">

<embed 
src="publication-static/www/swf/nouvoscope-recorder.v083.swf?flashServerUrl=rtmp://fms.flash.ch&amp;applicationPath=nouvoscope&amp;forumId=94-3&amp;inReplyTo=&amp;storagePath=2006/06/20/22"
quality="high" bgcolor="#ffffff" width="570" height="470"
name="nouvoscope-recorder" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer";>
</embed>
</object>

There's nothing specific about doing this with Cocoon, as long as the
HTML is correct and the SWF file is served, you'll be fine.

HTH,
-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to