embeding PPT in the webpage

自作多情 提交于 2020-01-05 05:55:43

问题


I am working on the application that require documents to be embeded inside the webpage . I want to embed a powerpoint slides inside the page, any pointer would be helping

The application i am working on is built on Ruby on Rails

I have checked google doc viewer but for some reason its not rendering the pdf/ppt from my application code used

<iframe src="https://docs.google.com/viewer?url=<%= URI.escape('http://myapp.com/doc_name.pdf') -%>&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

回答1:


The problem was I was behind the firewall / proxy server that blocked the request to the site.... worked smoothly

Answering all the pending questions :)



来源:https://stackoverflow.com/questions/3344549/embeding-ppt-in-the-webpage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!