Thanks for your feedback, Rob.
I’m not too sure what’s going wrong for you here. The only similar scenario we’ve come across was when someone was behind a proxy and had problems connecting to Google.
I’d be very grateful if you can help us track down the problem so we can put in a workaround for you (and others with the same problem). Ideally, could you email me (contact@wp-glogin.com) a few more details:
1. Browser name and version
2. What is the error message on the page telling you the Drive API is not enabled – it should say “Error message from Google: <XXX>”
3. Do you get the same message when the ‘Next’ button breaks the connection?
That should hopefully get us started. Looking forward to hearing from you I hope.
Thanks,
Dan
Hey Dan,
The problems I had three days ago have disappeared. The corporate network I’m behind is horribly slow at doing somethings, and I imagine the google drive thing was getting semi-blocked since it is working now.
However, seem to now have new issues. When I embed a file directly into a post/page, I get HTML code. Linking and downloading are fine, it’s just the embed. To make my life easier, I’m just linking to things.
Great to hear things are a bit better now…
Regarding embed, it’s fairly experimental for certain file types (but should work fine for native Google docs).
What kind of file types are you trying to embed? e.g. PDF, Word DOC or something else?
Thanks,
Dan
I think I had only tried a PNG and a PPT, but I got the same results on both.
The most likely problem is actually that Sharing settings in Drive need to be wider – i.e. please go to the files in Drive and set their sharing settings to ‘Anyone with the link can view’ (or just ‘public’ if you prefer).
I think the PPT should then display fine.
The PNG will probably show a message in Google’s viewer saying ‘file type not supported’. (Ideally, the plugin would interpret the file type as an image and just show it in the web page without trying to push it through Google’s viewer.)
There are obviously quite a few different combinations of file types and sharing settings that might be out there in the wild, so hopefully I can collect a few helpful reports like yours and eventually build in some logic to ensure different scenarios give better feedback.
Unfortunately, I’m not sure that there is any easy way to inspect the sharing settings of a document in order to predict how Google viewer will handle it.
Please let me know how you get on.
Thanks,
Dan