What I want to do is:
Hack Ubercart File Download(UC_File) Module to stream videos. Ubercart allow file selling, basically a file is associated with a product node type and when this product is sold the user gets access to the file through a My Files menu. This is controlled by the UC_File sub-module of Ubercart. This UC_File script forces the user to force download the file.
I sell video access online, so what I want UC_file to do is check if the file is a (.swf) and if yes force it to open the file on the browser and play it normally (it is an swf file). If the file is not an .swf, the UC_file does it normal job and force the download has usually.
I actually changed UC_File to force the browser to open .swf online using Content-Disposition: inline; but it doesn't work very well, the player doesn't work fine. I suppose this is related to the way that the script forces the download.
Concluding, the developer must:
Edit the UC_File sub-module ([url removed, login to view] and [url removed, login to view] files) to make it check if the file is an SWF and if yes make it open on a new page and play perfectly. If not, run the original code.
I believe for an experienced drupal and PHP developer this is an easy job. The files are attached to this post.