Not being too familiar with this part of the code, I noticed that AbsolutePathReferenceVisitor does not have the embed tag.
public class AbsolutePathReferenceVisitor implements Visitor { public enum Tags { // Resources which would be fetched by the browser when rendering the page. RESOURCES(ImmutableMap.<String, String>builder() .put("body", "background") .put("img", "src") .put("input", "src") .put("link", "href") .put("script", "src").build()), // Hyperlinks that the user clicks on to navigate pages. HYPERLINKS(ImmutableMap.<String, String>builder() On Fri, Jan 7, 2011 at 8:45 AM, Mark Weitzel <weitzelm.w...@gmail.com>wrote: > Just a quick update... > I ran this in vanilla shindig (trunk from a few weeks ago) and I'm seeing > the same behavior. I added params to the shindig.properties file and that > had no effect. > > Here's the gadget url: > http://apphosting.jivesoftware.com/apps/mdwexampleapp8/test.xml > > <embed src="swf/flash-christmas.swf" width="550" height="400"> > </embed> > </object> > <img src="fooimagetage.swf" /> > <img src="swf/gliffy_logo.png"/> > > The image tags get substituted properly to > http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png > The embed tag es no bueno: > http://127.0.0.1:8080/gadgets/swf/flash-christmas.swf > > I'll start spelunking in the AbsolutePathReferenceRewriter > > -Mark W. > > http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png > > On Fri, Jan 7, 2011 at 7:28 AM, Mark Weitzel < > mark.weit...@jivesoftware.com> wrote: > >> Thanks Mat, >> >> I checked shindig properties, here's what it looks like: >> >> shindig.content-rewrite.include-tags=body,embed,img,input,link,script,style >> So the embed tag is there, but not the param tag. >> >> I'll add the param tag and then try to break in >> AbsolutePathReferenceRewriter >> >> > What's the value of shindig.content-rewrite.include-tags in your >> >> > shindig.properties? If this doesn't include "embed" (or maybe even param, >> > come to think of it) then that might explain it. >> >> > Mat >> >> On 7 January 2011 01:23, Mark Weitzel <mark.weit...@jivesoftware.com> wrote: >> >> > Quick question� >> > >> > I've got the following html in my gadget: >> > <object width="550" height="400" id="fallback"> >> > <param name="movie" value="swf/splash.swf"> >> > <embed src="swf/flash-christmas.swf" width="550" height="400"> >> > </embed> >> > </object> >> > <img src="swf/my_logo.png"/> >> > >> > >> > When the gadget gets rendered, I get two different URL roots. >> > >> > 404: >> > https://apps.app-sandbox.jivesoftware.com/gadgets/swf/flash-christmas.swf >> > >> > 200: >> > http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png(image >> > >> > <http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png%28image> >> > is in >> the swf dir) >> > >> > >> > I'm thinking there's a property or something somewhere that I missed. Could >> > someone point me to it quickly? >> > >> > >> > Thanks! >> > >> > >> > -Mark W. >> > >> >> >