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

Insert External Video - preset width & height

1 Answer 47 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 30 Jan 2013, 12:08 PM
We're looking at implementing the 'Insert External Video' in the toolbar of the RadEditor but wondered if it's possible to preset the defaults for width (leaving height to be variable depending on the ratio of the video). Is this possible? I've searched the forum and the documentation but couldn't find it mentioned anywhere.

Thanks in advance for any help.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Jan 2013, 04:39 PM
Hello,

You can see how to register the external dialogs of RadEditor in the following live demo: Customize Built-in Dialogs. After that open the EditorDialogs\InsertExternalVideo.ascx and customize the following fields:

<input type="text" id="width" name="width" value="400" />
<input type="text" id="height" name="height" value="300" />

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Tim
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or