hi -

> What seems to be the problem? I run open-flash-chart from merb with no
> problems.

flash files get sent to the browser as text files. i guess the embed
tag can generally just ignore this, but its not good practice. for
some opensocial app i'm doing this seems to confuse the caching proxy.

also for full-screen flash (ie a url that ends in .swf) merb served
files give a "do you want to save this file?" dialog box. for this i
guess i need to somehow set :disposition => "inline"...

thanks,

/dc

>
> Jim
>
>
>
> On Sun, Jan 18, 2009 at 7:03 PM, dc <[email protected]> wrote:
>
> > hi -
>
> > currently .swf files (flash) get served up by Merb as text files.
>
> > when these files are just inside the /public/ dir,
> > there is no controller being called afaik
> > so not sure where to put the following:
>
> > Merb.add_mime_type(:swf, :to_swf, ['application/x-shockwave-flash'])
>
> > I tried using before + after filters without luck...
> > also tried in config/init but no effect.
>
> > i wanted to serve these files from merb directly, rather than apache.
>
> > tx!
>
> > /dc
>
> --
> Jim Freeze
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to