+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / Can't get Flash to work

Can't get Flash to work

5 posts, 0 answered
  1. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    07 Jan 2010
    Link to this post
    I'm very new to Sitefinity so bear with me.  I'm trying to insert Flash, but can't seem to make it work.   I even tried to upload .swf files but the image gallery seems to only accept certain file types.  So, I figured I'd go to the Video control.  I dragged that on screen and it gave me an error message that I don't have any videos uploaded.   Next, I dragged a generic control on screen and it had a flash icon.  I breathed a sigh of relief.  But, when I hit the icon it opens up a Flash Manager with nothing in it.  Finally, I went to the forums and found info on changing and editing files in something called a RadEditor.   I searched my local file system for RadEditor and found nothing.  I'm stumped.  Certainly adding a Flash header to a page can't be that hard, can it?



  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    08 Jan 2010
    Link to this post
    Hi Troy Lawrence,

    Thank you for using our services.

    We are sorry to hear that you have experienced difficulties working with Sitefinity. By default the flash manager which pops up in the rich text editor in Sitefinity is looking for a directory Files in the root of your webiste. However on a new project in Sitefinity this folder does not exist, therefore the flash manager does not allow you do anything. This is so because by default the flash manager has restrictions as to which folders it should let users manage files, I hope this sounds logical. You can try to create a folder named Files in the root of your website and try out what happens when you use the flash manager. I have attached some screen shots to illustrate the behavior of the flash manager.

    By default the Flash Manager has maximum file size restriction of 200KB you can edit this to enable uploading of larger flash video through the flash manager, or you can simply upload the swf files through Sitefinity's file manager (refer to attached image). If you wish to adjust the maximum upload file size you will have to edit the settings of the RadEditor as you have read in the forum threads. The reason for which you have not found it in your project is that control templates (markup for controls) are embedded in Sitefinity dlls and you have to download the External Templates archive from your Client.Net account. Then you have to map the templates as discussed in this tutorial: How to map a view to an external template, in Sitefinity 3.6 or later? The setting of the RadEditor that has to be edited is pasted bellow:
    <telerik:RadEditor
        runat="server"
        ID="textEditor"
        ContentAreaCssFile="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorContentArea.css"
        ToolsFile="~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml"   
        Skin="WebBlue"   
        NewLineBr="False"
        Height="360px"
        Width="98%"
        ExternalDialogsPath="~/Sitefinity/Admin/ControlTemplates/CustomEditorDialogs"
        ContentFilters="EncodeScripts,FixUlBoldItalic,FixEnclosingP,IECleanAnchors,MozEmStrong,ConvertFontToSpan,ConvertToXhtml,IndentHTMLContent">
        <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" DeletePaths="~/Images"  />
        <MediaManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
        <FlashManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files"  MaxUploadFileSize="51200000"/>
        <DocumentManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
        <CssFiles>
            <telerik:EditorCssFile Value="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css" />
        </CssFiles>
    </telerik:RadEditor>


    When working with the Images & Documents module you can create 4 types of libraries (Image, Video, Document, Custom). The video libraries let you upload .wmv files since the video control works Silvelight media player - it does not play flash video.

    If you have more questions, please feel free to get back to us.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    08 Jan 2010
    Link to this post
    Thanks for the quick reply.  So far I'm following most of what you are talking about, but I still don't understand where to access this RadEditor?  Is that a file? or, is it somewhere in the Sitefinity CMS interface? 


  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    08 Jan 2010
    Link to this post
    Hi Troy Lawrence,

    The RadEditor is the rich text editor. Its markup is located in the files which use it. By default those files are not in your Sitefinity website. You have to download them as discussed in the KB article I have linked:

    Then you have to map the templates as discussed in this tutorial: How to map a view to an external template, in Sitefinity 3.6 or later?

    If you do not wish to modify this setting you can upload files from Sitefinity File manager. Just login in the admninistrative UI and go to Files tab.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    09 Jan 2010
    Link to this post
    I just wanted to let you know that I was able to get the Flash working thanks to your help. 

    Cheers!

Register for webinar
5 posts, 0 answered