Cannot insert .mov file using Media Manager

9 posts, 1 answers
  1. Vishal
    Vishal avatar
    4 posts
    Member since:
    Jul 2008

    Posted 03 Mar 2010 Link to this post

    Hello All,

    I'm using Moss2007 and the Moss radeditor (5.2.3.0).

    In a content page i added my radcontrol (see code below) with custom configfile.xml and toolsfile.xml.
    I pasted my configfile.xml below and as you can see i added *.mov to the mediafilters property.
    But when i try to upload a .mov file using the MediaManager of the radeditor i get an error that the "extension of the uploaded file is not allowed.. " ( see screenshot).
    If you look at the screenshot you can see that the under the allowed extensions i dont see the *.mov file and the filesize is also smaller then i allowed in my configfile.xml..

    Where am i going wrong here? I appreciate all help..

    configfile.xml

    <?xml version="1.0" encoding="utf-8"?>  
    <configuration> 
      <property name="AllowThumbGeneration">True</property> 
      <property name="ConvertToXhtml">True</property> 
      <property name="EnableDocking">False</property> 
      <property name="ShowHtmlMode">True</property> 
      <property name="ShowPreviewMode">False</property> 
      <property name="StripAbsoluteAnchorPaths">False</property> 
      <property name="StripAbsoluteImagesPaths">False</property> 
      <property name="ToolbarMode">ShowOnFocus</property> 
      <property name="ToolsWidth">600px</property> 
      <property name="Skin">Telerik</property> 
      <property name="MediaFilters">*.wma,*.wmv,*.avi,*.wav,*.mpeg,*.mpg,*.mpe,*.mp3,*.m3u,*.mid,*.midi,*.snd,*.mkv,*.mov</property> 
      <property name="MaxMediaSize">4048000</property> 
      <property name="ImagesPaths">  
        <item>PublishingImages</item> 
        <item>/SiteCollectionImages</item> 
      </property> 
      <property name="CssFiles">  
        <item>/_wpresources/amphia/CssEditor.css</item> 
      </property> 
    </configuration> 
    <rad:RadHtmlField ConfigFile="/_LAYOUTS/STYLES/Radboud/radeditor/ConfigFile.xml" ToolsFile="/_LAYOUTS/STYLES/Radboud/radeditor/ToolsFile.xml"   
                    id="pageContent" FieldName="PublishingPageContent" InputFieldLabel="Content" DisplayWidth="460" DisplayHeight="300" runat="server"  EnableExtensions="true" AllowSpecialTags="true"/> 
  2. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 04 Mar 2010 Link to this post

    Hello Vishal,
    The setting of the MediaFilters collection is wrong. Modify your ConfigFile so it looks like this:
    <?xml version="1.0" encoding="utf-8"?>  
    <configuration>
      <property name="ToolbarMode">ShowOnFocus</property>
      <property name="ToolsWidth">600px</property>
      <property name="Skin">Telerik</property>
      <property name="MediaFilters">
        <item>*.wma</item>
        <item>*.wmv</item>
        <item>*.avi</item>
        <item>*.wav</item>
        <item>*.mpeg</item>
        <item>*.mpg</item>
        <item>*.mpe</item>
        <item>*.mp3</item>
        <item>*.m3u</item>
        <item>*.mid</item>
        <item>*.midi</item>
        <item>*.snd</item>
        <item>*.mkv</item>
        <item>*.mov</item>
      </property>
      <property name="MaxMediaSize">4048000</property>
      <property name="ImagesPaths"
        <item>PublishingImages</item>
        <item>/SiteCollectionImages</item>
      </property>
      <property name="CssFiles"
        <item>/_wpresources/amphia/CssEditor.css</item>
      </property>
    </configuration>

    The missing properties are obsolete. For more information review the following online help article http://www.telerik.com/help/aspnet-ajax/editor_migrationfromradeditorclassictoradeditorprometheus.html

    Greetings,
    Stanimir
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  3. Vishal
    Vishal avatar
    4 posts
    Member since:
    Jul 2008

    Posted 04 Mar 2010 Link to this post

    thanks alot Stanimir,

    the new configfile works great... the problem is solved now... thanks alot..


  4. Derrick
    Derrick avatar
    17 posts
    Member since:
    Jul 2011

    Posted 14 Jul 2011 Link to this post

    Where is this ConfigFile located?  Cannot find it in the Visual Studio project.
  5. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 Jul 2011 Link to this post

    Hello Derrick,

    Review the following online help article: Set Properties Via Config File.

    Cannot find it in the Visual Studio project. - Which project do you refer to?


    Greetings,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  6. Derrick
    Derrick avatar
    17 posts
    Member since:
    Jul 2011

    Posted 15 Jul 2011 Link to this post

    I was referring to the project where I put the Telerik RADEditor control in.

    Is there a way I can create this configuration file manually?
  7. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 18 Jul 2011 Link to this post

    Hello Derrick,

    Could you confirm what exactly is your scenario? Are you suing RadEditor for MOSS/SP2010 (MOSSRadEditor or SPRadEditor classes, which are defined in the RadEditorSharePoint assembly), or are you using RadEditor for ASP.NET AJAX editor, which comes with RadControls for ASP.NET AJAX suit?


    All the best,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  8. Derrick
    Derrick avatar
    17 posts
    Member since:
    Jul 2011

    Posted 18 Jul 2011 Link to this post

    I'm using RADEditor for ASP.NET AJAX scenario.
  9. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 18 Jul 2011 Link to this post

    Hello Derrick,

    In this case review the following online help article: http://www.telerik.com/help/aspnet-ajax/editor-media.html.
    RadEditor for ASP.NET AJAX can not be configured with ConfigFile.xml. One other important thing is that In order to use RadEditor's dialogs with SharePoint's libraries you need to create a custom content provider. MOSSRadEditor and SPRadEditor SharePoint editors have such specially designed content providers.


    All the best,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top