This is a migrated thread and some comments may be shown as answers.

Cannot insert .mov file using Media Manager

8 Answers 87 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Vishal
Top achievements
Rank 1
Vishal asked on 03 Mar 2010, 10:34 AM

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"/> 

8 Answers, 1 is accepted

Sort by
0
Accepted
Stanimir
Telerik team
answered on 04 Mar 2010, 08:00 AM
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.
0
Vishal
Top achievements
Rank 1
answered on 04 Mar 2010, 09:41 AM
thanks alot Stanimir,

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


0
Derrick
Top achievements
Rank 1
answered on 14 Jul 2011, 07:10 PM
Where is this ConfigFile located?  Cannot find it in the Visual Studio project.
0
Stanimir
Telerik team
answered on 15 Jul 2011, 09:23 AM
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 >>

0
Derrick
Top achievements
Rank 1
answered on 15 Jul 2011, 03:47 PM
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?
0
Stanimir
Telerik team
answered on 18 Jul 2011, 07:49 AM
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 >>

0
Derrick
Top achievements
Rank 1
answered on 18 Jul 2011, 01:08 PM
I'm using RADEditor for ASP.NET AJAX scenario.
0
Stanimir
Telerik team
answered on 18 Jul 2011, 01:30 PM
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 >>

Tags
WebParts for SharePoint
Asked by
Vishal
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Vishal
Top achievements
Rank 1
Derrick
Top achievements
Rank 1
Share this question
or