
In the Media Manager config, I added the *.mov extension but when users add a mov file the player is Windows Media Player which can't play mov files.
How can I configure Telerik to use quicktime when the media is a .mov file ?
7 Answers, 1 is accepted
RadEditor can not control which plug-in the browser chooses to play media files. The content area of the editor is an editable IFRAME and the browser is displaying the html source in it. If you have problems with the generated code i will be able to help you to set the control to produce the needed one. In order to do this though, I will need a sample of the currently generated HTML code (in order to get it use RadEditor in Html mode) and the one that you wish to be generated.
All the best,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Thanks for your answer. Here is a sample code I would need when the user is using MOV file from the Media Manager:
<
object
codebase
=
"http://www.apple.com/qtactivex/qtplugin.cab"
height
=
"400"
width
=
"400"
classid
=
"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
>
<
param
name
=
"src"
value
=
"myfile.mov"
/>
<
param
name
=
"autoplay"
value
=
"true"
/>
<
param
name
=
"scale"
value
=
"aspect"
/>
<
param
name
=
"controller"
value
=
"true"
/>
<
param
name
=
"type"
value
=
"video/quicktime"
/>
<
embed
src
=
"/myfile.mov"
autoplay
=
"true"
type
=
"video/quicktime"
scale
=
"aspect"
controller
=
"true"
pluginspage
=
"http://www.apple.com/quicktime/download/"
height
=
"400"
width
=
"400"
>
</
object
>
Why Telerik cannot generate different HTML depending on the media file type ?
There are two ways of modifying the MediaManager functionality.
1. Modify the dialog it self:
You can find information on how to modify the dialog in the following online help articles:
http://www.telerik.com/help/aspnet-ajax/customizingimagedialog.html
http://www.telerik.com/help/aspnet-ajax/moss_externaldialogspath_property.html - (use the same approach for MediaManager.ascx). You need to change the code in the _createMediaElement method.
2. Use the OnClientPaste event of RadEditor:
In order to overwrite OnClientPaste you need to do the following.
Add the following code in the ConfigFile.xml, which is located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder:
<
propertyname
=
"OnClientPasteHtml"
>OnClientPasteHtml</
property
>
Then add the following code to the MOSSEditorTools.js, which is located in the mentioned above folder:
functionOnClientPasteHtml(editor, args)
{
varcommandName = args.get_commandName();
if
(commandName ==
"MediaManager"
)
{
varvalue = args.get_value();
//modify value variable to match the requirements
args.set_value(value);
}
}
I hope this helps.
Kind regards,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

I'll try that.

I Want Telerik can generate different HTML And Change Media Player to Web Player Ex.
FlowPlayer,JwPlayer
Did you try to edit the content generated by the MediaManager / FlashManager dialogs in the OnClientPasteHtml event of RadEditor? You can further customize these dialogs using the provided external dialogs files as shown in this demo: Customize Built-in RadEditor dialogs.
We do not support third party player and this custom task should be implemented by the developer working with the control.
Best regards,
Rumen
the Telerik team
