UrlWebEditor?
I'm looking to emulate some functionality in Sitefinity 4.x from the old UrlWebEditor in 3.x. What I specifically need is a way to choose SWF (Flash) files on the server (not upload from the client, all I need is the ability to list the files/directories on the server and pick a url on the server for a SWF file with a file manager control) for some Widget controls for pages. I've looked into FileField in 4.x but it looks like the only types that are supported are images, videos, and documents, am I right in that assumption?
Anyone know how to go about achieving this? I've looked into implementing my own control but am having some trouble getting this to work.
Hello John,
Do you need this functionality inside our RadEditor or do you want a field control for some content item that would let you select a file from the file system? I'm currently in the process of writing a series of blog posts about different field control selectors - I might write a post about selecting a physical file from the web project folders. Please give us more details so we could give you a good explanation.
Greetings,A field control would probably be the most optimal route at least I think. For the meantime (I did this yesterday) what I've done is implement a RadFileExplorer control with a search pattern of *.swf and it does what I need it to for today. I put it in my control's designer class and set the OnClientItemSelected to populate a text field I'm using to store the URL in the designer.
Hi John,
Yes, Silverlight cannot play Flash video files, because, well, one is Flash, the other is Silverlight. You can use some sort of hacks to embed the <object> HTML markup to embed Flash files in Silverlight though. You can use normal Document libraries to upload the Flash files instead - is this a viable solution for you?
Kind regards,Unfortunately not, if I'm using an embedded Flash player it's going to want to a real URL to the file. Sitefinity's methods are either store it in the database or store it in the filesystem and replace the entire filename with a Guid (not even the extension is preserved when I checked).
(Oops double posted)