Attachment_fu plugin - Compatibility with Safari

  • Thread starter krishna kishore
  • Start date
K

krishna kishore

Hi,=0A=0AThis mite be a simple problem, but I am not able to figure out the=
reason.=0A=0AMy application requires to upload some audio-video files.I am=
using attachment_fu for the same and it works fine in IE/FireFox and Safar=
i 2.0.x browsers.But it doesn't work in Safari 3.0 +.=0A=0AI am using Rails=
version 1.2.3.=0A=0AIs it a browser problem or an issue with compatibility=
between attachment_fu and safari?=0A=0AThe exception notifier shows this:=
=0A=0AA NoMethodError occurred in flash_player#attach_video: undefined meth=
od `content_type' for # [RAILS_ROOT]/vendor/plugins/attachment_fu/lib/techn=
oweenie/attachment_fu.rb:244:in `uploaded_data=3D' ------------------------=
------- Request: ------------------------------- * URL: <snipped> * Paramet=
ers: {"x"=3D>"40", "y"=3D>"12", "action"=3D>"attach_video", "description"=
=3D>{"body"=3D>""}.....=0A=0AThe issue at the moment I could test is only w=
ith .flv files.The problem comes both in Mac and Windows safari 3.0.4 and =
3.1.=0A=0AAny pointers to resolve the issue would be highly appreciated.=0A=
=0AThanks=0A=0AKishore=0A=0A=0A=0A Share files, take polls, and discus=
s your passions - all under one roof. Go to http://in.promos.yahoo.com/grou=
ps
 
S

Saravanan Krishnan

krishna said:
Hi,

This mite be a simple problem, but I am not able to figure out the
reason.

My application requires to upload some audio-video files.I am using
attachment_fu for the same and it works fine in IE/FireFox and Safari
2.0.x browsers.But it doesn't work in Safari 3.0 +.

I am using Rails version 1.2.3.

Is it a browser problem or an issue with compatibility between
attachment_fu and safari?

The exception notifier shows this:

A NoMethodError occurred in flash_player#attach_video: undefined method
`content_type' for #
[RAILS_ROOT]/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:244:in
`uploaded_data=' ------------------------------- Request:
------------------------------- * URL: <snipped> * Parameters:
{"x"=>"40", "y"=>"12", "action"=>"attach_video",
"description"=>{"body"=>""}.....

The issue at the moment I could test is only with .flv files.The problem
comes both in Mac and Windows safari 3.0.4 and 3.1.

Any pointers to resolve the issue would be highly appreciated.

Thanks

Kishore



Share files, take polls, and discuss your passions - all under one
roof. Go to http://in.promos.yahoo.com/groups

Hi Krishna,

I'm also having same problem..
Didn't solve so far.
see my post
http://www.ruby-forum.com/topic/141798#new

Related Posts
http://www.ruby-forum.com/topic/99609#new

If u found any solutions pls let me know.

Regards
Saravanan
 

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top