[Mongrel] how to send mp3 inline?

Mark Uhrmacher mmmaui at gmail.com
Sat Mar 17 13:34:36 EDT 2007


-----Original Message-----
From: "Patrick Aljord" <patcito at gmail.com>
Date: Fri, 16 Mar 2007 22:21:46 
To:mongrel-users at rubyforge.org
Subject: [Mongrel] how to send mp3 inline?

hey all,
I'm trying to do a:
 send_file @file, :type => 'audio/mp3', :disposition => 'inline' ,:stream=>true

I tried with all browsers and it always asks me to download the file
or open it with a player. Is there a way to make it open in the
embeded player (QT,Windows media player,Mplayer etc)? Only with
konqueror if I open in new tab then I get the embeded player :/

Am I doing something wrong with rails or with mongrel? if it's with
mongrel , how could I configure it so it sends the right stuff?

thanx in advance

Mongrel-users mailing list
Mongrel-users at rubyforge.org

More information about the Mongrel-users mailing list