AnsweredAssumed Answered

Mashup not allowing iframes

Question asked by br36524 on Jun 2, 2017
Latest reply on Jun 2, 2017 by scott.hurrey

Hi,

 

I have a mashup tool that is creating a small snippet of html with an iframe. However, when the html is returned to the text editor then iframe-tag i renamed to "xxxx".

String in the mashup:

When received in VTBE/editor:

 

I can see from the YouTube mashup tool that it is possible to insert iframe content from a mash, but does anyone know how?

 

This is how I return it from the servlet:

request.setAttribute( "embedHtml", outputHtml.toString() );
String embedUrl = PlugInUtil.getInsertToVtbePostUrl().replace( WYSIWYG_WEBAPP, "" );
RequestDispatcher rd = getServletContext().getContext( WYSIWYG_WEBAPP ).getRequestDispatcher( embedUrl );
rd.forward( request, response );

 

Thanks,

 

Bjarke

Outcomes