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

Issue with Media Manager

4 Answers 79 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jean-François Robe
Top achievements
Rank 1
Jean-François Robe asked on 28 Sep 2009, 03:45 PM

Hello,

 

We had some issue when using the Media Manager in the RadEditor for MOSS (full-featured) to add a video to a WebPart page. The Windows Media Player’s window displays but the video doesn’t play (we have IE7 and WMP10).

 

We find that modifying a little bit the generated HTML makes it finally works.

 

Here is the original generated HTML code:

<object type="application/x-oleobject" height="150" width="150" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">

<param name="FileName" value="/Test_RENAULT/Videos/RadNavigation.avi"/>

<embed src="/Test_RENAULT/Videos/RadNavigation.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer"></embed>

</object>

 

The changes concern the “object” tag.

 

If we remove it (we keep only the “embed” tag), it works fine.

 

We can also keep it but then we have to change two of its attributes:

- Removing the “classid” attribute makes it work but it is very long.

- To make it faster we change the value of the “type” attribute, from “application/x-oleobject” to “"application/x- mplayer2" (like in the “embed” tag).

With this second method it works fine too.

 

As these changes are manual, we would like to know how we can have an automatic solution.

 

Thanks

 

Jeff

 

4 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 29 Sep 2009, 07:22 AM
Hello Jean-François Robe,

Please confirm which version of RadEditor for MOSS you are using. Is it the Lite RadEditor for MOSS 4.5.6 or the full version 5.x?


Greetings,
Stanimir
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.
0
Jean-François Robe
Top achievements
Rank 1
answered on 29 Sep 2009, 07:52 AM
Hello Stanimir,

thank you for you answer. We have installed a trial of the full version 5.5.1 (from the RadEditorMOSS_5_5_1_trial.zip file).

Regards,

Jeff.
0
Stanimir
Telerik team
answered on 29 Sep 2009, 08:18 AM
Hello Jean-François Robe,

If you want to modify  the way that the MediaManager is working, follow these steps.
1. Copy the provided by me MediaManager.ascx (it is for the latest 5.5.1 version of RadEditor for MOSS) in the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources folder.

2. Modify the respective ConfigFile.xml. You need to set the ExternalDialogsPath property.
<property name="ExternalDialogsPath">/_wpresources/RadEditorSharePoint/5.5.1.0__1f131a624888eeed/Resources</property>  


3. Alter the MediaManager.ascx so it will fit your needs.
For example the code that is creating the media element is in the _createMediaElement client method.


I hope this helps.

Regards,
Stanimir
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.
0
Jean-François Robe
Top achievements
Rank 1
answered on 30 Sep 2009, 09:53 AM
Hello Stanimir,

Thank you very much for this information. We followed your instructions and it solved the issue.

Regards,

Jeff.
Tags
WebParts for SharePoint
Asked by
Jean-François Robe
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Jean-François Robe
Top achievements
Rank 1
Share this question
or