21 Sep 2009
23 Nov 2009
Link to this post
Still a bit confused... Let me describe what I am trying to do, that might make this whole thing make more sense. We've created our own video players that support WMV's and FLV's. We've then created an encoder that will encode .mov, .mpeg, .avi, and a few more to a .wmv that renders at a bit rate and resolution that fits perfectly on our screen. This encoder will be initiated via a web service, now here's the next piece of the puzzle. The user has the ability to upload anything from .xls, to .png and any other type of file. So when the user selects their files, they may select .mov and a .png, now I need to, on the upload, detect the file type and if it's a video type that our player supports, I need to send that file off to the web service for encoding. The web service will take care of this file, but if the file is not supported by the player, .xls, .docx, among many others, the Sitefinity upload should handle this process as normal, and put them in the Sitefinity Library.
So in a nutshell, I need to get at the actual code-behind that handles the upload into the Sitefinfy Library, so I can check whether or not I need to continue with the normal Sitefinity upload, or send the file for encoding.