Forum: Ruby on Rails Playing videos

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Martin H. (Guest)
on 2009-03-07 13:52
(Received via mailing list)
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
This topic is locked and can not be replied to.