Hi there!
I ran rails 3 application in localhost. In index.html.erb file I added
<object type="application/x-shockwave-flash"
data="../public/player_mp3.swf" width="200" height="20">
<param name="movie" value="player_mp3.swf" />
<param name="FlashVars" value="mp3=file.mp3" />
</object>
However, when Mongrel server sends swf resource with
Content-Type:text/html; charset=utf-8, and because of this nothing is
displayed in browser.
How can I configure mongrel(I use it only in localhost) to return corect
Mime type for swf object ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.