Opened 19 years ago
Closed 17 years ago
#2883 closed defect (worksforme)
embed objects
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | embed |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This is more question or suggestion: It would be really nice if you could embed other objects into wiki page, not just images (e.g. activeX objects - like flash, java applets, etc). Or, is this maybe possible and I don't know?
Attachments (0)
Change History (7)
comment:1 by , 19 years ago
Milestone: | 0.9.5 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 19 years ago
Note that if you really need to have embedded objects for your Trac site, you can write a macro that will insert theobject you'd like to have, and only let the user specify some parameters to that object, from the macro.
e.g.
[[AcrobatViewer(some.pdf)]]
comment:3 by , 19 years ago
A solution that I use is to upload the attachment to the page and use a link in the wiki entry regarding the attachment pointing to the link location from the generated download page.
It doesn't 'embed' due to the aforementioned security issues but it does provide a better work flow than having to click through a download page.
If I ever find the time I plan to work out a patch to do this directly and just bypass the intermediary (and unnecessary) download page. I'll post it and submit it to the dev team when/if I get a chance.
comment:7 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
See TracIni for the render_unsafe_content
setting. This will allow you to embed any object in a page.
You can include any HTML in a wiki page as described in WikiProcessors.
However the items like you mentioned are specifically stripped from the HTML since they would be an extreme security risk to allow users to include them in a Wiki page.