Insert External Video - preset width & height

2 posts, 0 answers
  1. Tim
    Tim avatar
    10 posts
    Member since:
    Nov 2007

    Posted 30 Jan 2013 Link to this post

    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.
  2. Rumen
    Rumen avatar
    14317 posts

    Posted 31 Jan 2013 Link to this post


    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,
    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.
Back to Top