How to embed documents into a WordPress page without having to download it to view
Hi All
I am currently trying to transfer mainly word documents into a wordpress site and although I have found some neat tools such as
Embed Any Document by AWSM.in, This still requires each person who visits the page to download the document and does not generate a preview or display in the browser.
Is there something out there recommended to serve this purpose or am I trying to do something that is not possible?
Thank you for the post, I can only seem to get the the same point I got with turbo widget where the document comes up as 'preview not available' and I also notice that the version of the google doc embedder plugin seems to have the default browser option but mine does not you also have different viewer options, do you have the premium version by any chance?
Branislav Borojevic
My settings are the same as yours, I just tested the functionality on my server and it shows the file that I tested it on.
I suggest to tick the Force download button off or completely disable the Download functionality.
That would be the culprit. It needs to be on a live server in order for it to be able to work. Any plugin that uses Google API needs the file to be public. (at least on the web)
This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included jsapi script, and is called when you invoke the google.load() method. Google' terms of service do not allow you to download the google.load or google.visualization code to use offline.
So I am positive that once you do it on a live server you will be successful.
IM&T SRFT
ASKER
That's sounds great. Thee intention of the site is for it to be an intranet limited to access from 1 specified domain which is something I have never done before and maybe limiting access may also have an impact but I am going to post separately about this so not to confuse thee matter
IM&T SRFT
ASKER
Hi Branislav Borojevic
Thank you so much for your help on this issue, quite rightly it now works once I have got the site hosting online
However, I did switch back to the original plugin of Embed Any Document as it takes 2 mouse actions less to achieve what I want and it's my task to encourage another 30+ people that this new site is a worthwhile upgrade from the current one.