SWF or SVG Image files embedded into Wikipages

10 views
Skip to first unread message

Hendrik Renken

unread,
Nov 1, 2009, 7:42:40 AM11/1/09
to Trac Users
Hello,

today i tried to embed a *.swf flashfile and a *.svg vector graphic
into a wikipage. First i tried the image-macro. That didn't work,
because swf and svg are embedded through <embed> or <object> tag. Then
i tried it with the html processor, but that didn't work either. It
showed nothing.

code:
{{{
!#html
<object data="https://xyz.net/trac/projects/kernel/raw-attachments/architecture.swf
" width="200" height="200"></object>
}}}


What have i done wrong? Does trac suppress swf files because of the
render_unsafe_content=false ?


Thanks in advance,
Hendrik


Remy Blank

unread,
Nov 1, 2009, 8:09:08 AM11/1/09
to trac-...@googlegroups.com
Hendrik Renken wrote:
> Does trac suppress swf files because of the
> render_unsafe_content=false ?

Yes, it does.

-- Remy

signature.asc

Olemis Lang

unread,
Nov 2, 2009, 7:55:47 AM11/2/09
to trac-...@googlegroups.com
On Sun, Nov 1, 2009 at 7:42 AM, Hendrik Renken <funs...@gmx.net> wrote:
>
> Hello,
>
> today i tried to embed a *.swf flashfile and a *.svg vector graphic
> into a wikipage. First i tried the image-macro. That didn't work,
> because swf and svg are embedded through <embed> or <object> tag. Then
> i tried it with the html processor, but that didn't work either. It
> showed nothing.
>

For SVG (if it didn't work ;o) you may also try IncludeMacro (or
GraphViz plugin if you want to generate the file on the fly). Check
out the MIME types supported in your system and the browser .

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

Reply all
Reply to author
Forward
0 new messages