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

How to Disable encoding of embedded objects?

1 Answer 117 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Vadim
Top achievements
Rank 1
Vadim asked on 14 Aug 2008, 02:15 PM
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.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Aug 2008, 12:18 PM
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.
Tags
Sharepoint Integration
Asked by
Vadim
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or