Concrete5 8.1 iFrame?
Permalink
I am trying to embed an interactive application (shiny-server) in an iframe. I see there is an iframe add-on but it is not supported in version 8.1. I'm not a web developer by any means. Could someone suggest how to achieve this?
shiny-server runs as a web server on an alternative port and provides a frontend gui for an R session.
shiny-server runs as a web server on an alternative port and provides a frontend gui for an R session.
I tried that using an HTML block, but nothing shows up. Here is the iframe code with google as an example:
<iframe src="http://google.com" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>
<iframe src="http://google.com" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>
Hello,
Is there any content in that iframe?
Peter
Is there any content in that iframe?
Peter
Of course.. It's google.com...
I appended Header always unset X-Frame-Options to my apache config just to be safe, but still nothing.
I appended Header always unset X-Frame-Options to my apache config just to be safe, but still nothing.
I was able to get it working using this method. The issue is related to X-Frame-Options. I was unable to make it work with a different domain, but by using apache reverse proxies, I can redirect the site I need to a local rewrite on my own domain.
Maybe use this generated iframe in a html block:
http://www.iframe-generator.com/...
There more:
https://www.google.nl/?gws_rd=ssl#q=iframe+html+code+generator&*...
Greetings,
Peter
.