Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8174 closed defect (worksforme)

Wiki formatting strips object (SWF Movie)

Reported by: dreel@… Owned by:
Priority: normal Milestone:
Component: wiki system Version: 0.11-stable
Severity: normal Keywords: swf, object, wiki
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I just have placed this code in wiki using WikiHtml but it strips an <object> tag in the preview and saved page. So the swf move can't be showed on wiki page.

{{{
#!html
<object type="application/x-shockwave-flash" width="220" height="110" data="http://img.yandex.net/i/time/clock.swf?3">
    <param name="movie" value="http://img.yandex.net/i/time/clock.swf?3"/>
    <param name="quality" value="high"/>
    <param name="bgcolor" value="#FFFFFF"/>
    <param name="wmode" value="opaque"/>
    <param name="FlashVars" value="id=65&type=informer"/>
</object>
}}}

Is there any way to put in the swf object with params?

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 16 years ago

Resolution: worksforme
Status: newclosed
Summary: Wiki formatting strips object (SWF Move)Wiki formatting strips object (SWF Movie)

If you have control over the configuration of the Wiki, and if you're OK with the implications of the change, you can turn off HTML sanitization, see TracIni#wiki-section, render_unsafe_content.

Otherwise, you could use a macro for inserting such content, e.g. TracHacks:FlashEmbedMacro.

comment:2 by dreel@…, 16 years ago

Great thanks i didn't now about the option render_unsafe_content. Now it works fine. Embed plugin doesn't not support param. In my case it's external flash informer so param needed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.