Playing Video in Telerik Rad Editor Control.

4 posts, 0 answers
  1. ketan
    ketan avatar
    2 posts
    Member since:
    Jun 2010

    Posted 31 Aug 2010 Link to this post

    Hi,

    I am able to play video in telerik rad editor webpart, however when i place this telerik rad editor control in my article page [custom page layout] with video embeded in telerik rad editor control along with content and save the page. It does not save the video [code to integrate video in telerik rad editor control], however it saves the content placed along with the video.

    Please Suggest.

    Ketan
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 01 Sep 2010 Link to this post

    Hello ketan,

    You can use RadEditor for MOSS in three scenarios.
    1. Web Part: In this case you can save media without any previous configurations.
    2. List (list, wiki, blog): In this case every time you save the content the media will be stripped. You cannot enter media in this scenario.
    3. Web Content Management (WCM): In this case first you need to replace existing PublishingWebControls:RichHtmlField with RadHtmlField, as it is explained in the "Using  SharePoint Designer" part of the following online help article http://www.telerik.com/help/aspnet-ajax/using-radeditor-in-web-content-management-scenario.html. Then you need to set the AllowSpecialTags property of RadHtmlField to true. Here is a code sample:
    <telerik:RadHtmlField id="Content" FieldName="PublishingPageContent" AllowSpecialTags="true" AllowScripts="true" runat="server"></telerik:RadHtmlField>



    Regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. ketan
    ketan avatar
    2 posts
    Member since:
    Jun 2010

    Posted 02 Sep 2010 Link to this post

    Hi Stanimir,

    Many thanks for your response.

    I followed option suggested by you
    http://www.telerik.com/help/aspnet-ajax/using-radeditor-in-web-content-management-scenario.html         and

    <telerik:RadHtmlField id="Content" FieldName="PublishingPageContent" AllowSpecialTags="true" AllowScripts="true" runat="server"></telerik:RadHtmlField>

    however, it did not work for me.
    When i add following code to embed video in telerik control and save/check-in the page, telerik rad editor control removes the <object> used to embed video.

     <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="340" height="280">
                    <param name="url" value="WindowsMedia.wmv" />
                    <param name="src" value="WindowsMedia.wmv" />
                    <param name="showcontrols" value="true" />
                    <param name="autostart" value="true" />
    </object>


    Also i tried another with with <embed> tag as follows, however it did not work.
     <object width="380" height="220">
                <param name="movie" value="WindowsMedia.wmv"/>
                <param name="allowfullscreen" value="true" />
                <param name="allowscriptaccess" value="always" />
                <embed src="WindowsMedia.wmv" allowfullscreen="true" width="640" height="368"></embed>
            </object>



    As I am suggesting this product to one of my client and would like to confirm few things from you

    Does the above mentioned steps work for licensed version of the product?  [I am using "RadEditorMOSS_5_7_3_Trial" version]
    Can i embed video in telerik Rad Editor control placed in page layout.?

    Regards,
    Ketan Gandhi








                        
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 03 Sep 2010 Link to this post

    Hello ketan,

    Here is the help article where you can find information on inserting Flash and Media files in RadEditor for MOSS: http://www.telerik.com/help/aspnet-ajax/allow-flash-media.html.

    In order to help you further. I will need some additional information.
    1. In what scenario are you using the control. Is it WebPart or WCM?
    2. Provide me with the ConfigFile.xml and ToolsFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.

    I will use this in order to reproduce the issue on our test server.

    Kind regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top