An issue?? Am providing a user to upload and download the video files. I am using attachment_fu plugin and and usong its current_data function to get the file, and send_data to download it. Once the downloading is complete, i was not able to play that file.. Then i saw, that the size of the file which i was playing and the same file which i am downloading is much more. Any pointers, where i am making mistake?? or what i need to do here so that a user can play the doanloaded file... Thanks Arpit --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ratnavel Sundaramurthi
2007-Dec-28 06:59 UTC
Re: Downloading a video file and playing that(flv format.)
Use send_file method for download thing and while uploading try to save it with .flv extension using :filename => attribute -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
arpit jain
2007-Dec-28 07:56 UTC
Re: Downloading a video file and playing that(flv format.)
Thanks a lot.. On Dec 28, 2007 12:29 PM, Ratnavel Sundaramurthi < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Use send_file method for download thing and while uploading try to save > it with .flv extension using > :filename => attribute > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---