How to Disable encoding of embedded objects?

2 posts, 0 answers
  1. Vadim
    Vadim avatar
    3 posts
    Member since:
    Aug 2008

    Posted 14 Aug 2008 Link to this post

    Background: We created reusable HTML block for editors to help them embed video players in pages. When they insert this reusable html into content field, using RADEditor, and save it, RadEditor encodes HTML and saves that.
    Problem: One undesirable side-effect of this, in MOSS, when users search article contents, in search results returned, the see long encoded giberesh string of characters.
    Question: How do I stop RadEditor from encoding embedded objects. i. e.
    <!-- Modify height and width if desired --> 
    <object width="570" height="180" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
    <param value="ball.swf" name="movie"/>
    <param value="high" name="quality"/>
    <!-- Modify height and width if desired -->
    <!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
    <embed width="570" height="180" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="ball.swf"/>
    </object>
    Thanks.
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 19 Aug 2008 Link to this post

    Hi Vadim,

    All flash and media content is stripped by the MOSS content filters after you submit it. Unfortunately, this happens on the server and we have no control over it.

    That is why the editor encodes the flash and media tags to prevent their stripping by MOSS.

    Best regards,
    Rumen
    the Telerik team

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

Back to Top