object and embed tags

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 2 Followers

Top 500 Contributor
61 Posts
Points 855
gholtsclaw posted on Tue, Apr 29 2008 1:56 PM

We don't use the default GUI editor in CS, we found TinyMCE to be more powerful and customizable.  However, when we insert videos or flash, it writes <object> tags.  I added object and embed and it takes them out when it prints the forum post in this case.  I tried editing the "MarkUp" section in communityserver.config, but it didn't work.  What would be the best way to allow these?  Security is not a concern at this moment.

 

Answered (Verified) Verified Answer

Top 500 Contributor
61 Posts
Points 855

Well, not from CommunityServer, but I was able to figure it out by googling and extensive testing afterwards.  This is what it has to be:

<MarkUp><html>

<object classid="true" codebase="true" WIDTH="true" HEIGHT="true" ALIGN="true" VIEWASTEXT="true" id="true"/>
        <param name="true" value="true" />
        <embed base="true" wmode="true" name="true" allowScriptAccess="true" src="true" quality="true" scale="true" style="true" bgcolor="true" width="true" height="true" align="true" type="true" pluginspage="true" />

</html></MarkUp>

Roughly.  Plus the data is scrubbed on the way into the database (on edit or add) rather than on the way out, which makes complete sense.  But it just appeared not to work at first.  So we just have to edit all the embed and object posts we have.  No problem.

  • | Post Points: 5

All Replies

Not Ranked
1 Posts
Points 20

Hi Gholtsclaw,

Did you get any answers on this one?

Espen Klem

Community-responsible

Klikk.no

  • | Post Points: 20
Top 500 Contributor
61 Posts
Points 855

Well, not from CommunityServer, but I was able to figure it out by googling and extensive testing afterwards.  This is what it has to be:

<MarkUp><html>

<object classid="true" codebase="true" WIDTH="true" HEIGHT="true" ALIGN="true" VIEWASTEXT="true" id="true"/>
        <param name="true" value="true" />
        <embed base="true" wmode="true" name="true" allowScriptAccess="true" src="true" quality="true" scale="true" style="true" bgcolor="true" width="true" height="true" align="true" type="true" pluginspage="true" />

</html></MarkUp>

Roughly.  Plus the data is scrubbed on the way into the database (on edit or add) rather than on the way out, which makes complete sense.  But it just appeared not to work at first.  So we just have to edit all the embed and object posts we have.  No problem.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com