# Playing videos

**URL:** <https://www.ruby-forum.com/t/playing-videos/162741>\
**Category:** Rails\
**Created:** [March 13, 2009, 10:34am UTC](https://www.ruby-forum.com/t/playing-videos/162741 "2009-03-13T10:34:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![himdel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/c67d28/32.png) [@himdel](https://www.ruby-forum.com/u/himdel)\
**Post date:** [March 13, 2009, 10:34am UTC](https://www.ruby-forum.com/t/playing-videos/162741/1 "2009-03-13T10:34:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![himdel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/c67d28/32.png) [@himdel](https://www.ruby-forum.com/u/himdel)\
**Post date:** [March 13, 2009, 2:35pm UTC](https://www.ruby-forum.com/t/playing-videos/162741/2 "2009-03-13T14:35:14Z")

</div>

Excellent, thank you, just what I needed.

---

<div class="post-metadata">

**Author:** ![himdel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/c67d28/32.png) [@himdel](https://www.ruby-forum.com/u/himdel)\
**Post date:** [March 13, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/playing-videos/162741/3 "2009-03-13T14:07:06Z")

</div>

Go to [flowplayer.org](http://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 H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
