I''m working on a project that involves the playing of .avi files from a huge source library. Meta data about the files is stored in a database and the files are stored elsewhere in a file structure that is easy to access. I''m new to video playback and what I have tried so far is unsatisfactory. If I use send_file, the file downloads, opens a new window and plays back. What the client is going to end up with is a new window for each video. I want to play the file back in the same window. I''m not really clear how to proceed with do this, so if anybody can point me at any resource (tutorial, book, whatever) that explains this I''d appreciate it. Thanks Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
My app needs to play videos. They are stored in a huge library and are all about 2mb in size. They are avi files. The user enters criteria which selects the appropriate videos and I need to offer a playlist. Playing one at a time offers no problem - just use send_file and the file gets downloaded and played. My problem is that I need to offer the play_list. Preferably, I need to start the download of the list of files and get the player working on the first one while the others are downloading. I can''t get that to happen using send_file - it only works on one file at time. Does anybody have any bright ideas for me? thanks Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Go to flowplayer.org. You can easily integrate this player which will work with avi files. You can program it to your hearts desire. I am using it in a similar fasion on my site. Sean McGilvray Sent from my iPhone On Mar 13, 2009, at 2:33 AM, Martin Hawkins <martin.hawkins-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > My app needs to play videos. They are stored in a huge library and are > all about 2mb in size. They are avi files. > The user enters criteria which selects the appropriate videos and I > need to offer a playlist. > Playing one at a time offers no problem - just use send_file and the > file gets downloaded and played. > > My problem is that I need to offer the play_list. Preferably, I need > to start the download of the list of files and get the player working > on the first one while the others are downloading. > I can''t get that to happen using send_file - it only works on one file > at time. > > Does anybody have any bright ideas for me? > thanks > Martin > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Excellent, thank you, just what I needed. On Mar 13, 1:06 pm, Sean McGilvray <smcgilv...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Go to flowplayer.org. You can easily integrate this player which will > work with avi files. You can program it to your hearts desire. I am > using it in a similar fasion on my site. > > Sean McGilvray > > Sent from my iPhone > > On Mar 13, 2009, at 2:33 AM, Martin Hawkins <martin.hawk...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > My app needs to play videos. They are stored in a huge library and are > > all about 2mb in size. They are avi files. > > The user enters criteria which selects the appropriate videos and I > > need to offer a playlist. > > Playing one at a time offers no problem - just use send_file and the > > file gets downloaded and played. > > > My problem is that I need to offer the play_list. Preferably, I need > > to start the download of the list of files and get the player working > > on the first one while the others are downloading. > > I can''t get that to happen using send_file - it only works on one file > > at time. > > > Does anybody have any bright ideas for me? > > thanks > > Martin--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---