views:

26

answers:

0

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=&lt;%= URI.escape('http://myapp.com/doc_name.pdf') -%>&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>