How to insert iframes in discourse ? - To imbed Pdf or PPt or any document


(Veer) #1

I want to imbed ppts in my discourse forum using google docs viewer, google docs viewer requires iframes. How can i achive it. Here is sample code to insert an example ppt in a html document.

<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Here with this code i can embed any document in any html using google docs viewer.


(Daniela) #2

For .pdf read here Oneboxing of PDFs and other attachments

Iframes are not supported inside posts or topics (at least now). Make a search in #feature category to have more info.


#3

You could use this