# Attachment\_fu plugin - Compatibility with Safari

**URL:** <https://www.ruby-forum.com/t/attachment-fu-plugin-compatibility-with-safari/133513>\
**Category:** Ruby\
**Created:** [April 1, 2008, 6:52am UTC](https://www.ruby-forum.com/t/attachment-fu-plugin-compatibility-with-safari/133513 "2008-04-01T06:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishna\_kishore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9d8465/32.png) [@krishna\_kishore](https://www.ruby-forum.com/u/krishna_kishore)\
**Post date:** [April 1, 2008, 6:52am UTC](https://www.ruby-forum.com/t/attachment-fu-plugin-compatibility-with-safari/133513/1 "2008-04-01T06:52:01Z")

</div>

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: \* 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 [Yahoo Search - Web Search](http://in.promos.yahoo.com/groups)

---

<div class="post-metadata">

**Author:** ![krishna\_kishore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/9d8465/32.png) [@krishna\_kishore](https://www.ruby-forum.com/u/krishna_kishore)\
**Post date:** [April 4, 2008, 7:35am UTC](https://www.ruby-forum.com/t/attachment-fu-plugin-compatibility-with-safari/133513/2 "2008-04-04T07:35:33Z")

</div>

krishna kishore wrote:

> 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: \* 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 [Yahoo Search - Web Search](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](http://www.ruby-forum.com/topic/141798#new)

Related Posts  
[http://www.ruby-forum.com/topic/99609#new](http://www.ruby-forum.com/topic/99609#new)

If u found any solutions pls let me know.

Regards  
Saravanan
