google-docsgoogle-document-viewer

Embedded Google Doc Viewer Links no longer working


For a long time, the following href worked to embed a google doc viewer to all sorts of document types (when used in association with something like fancybox):

var href = "https://docs.google.com/viewer?url=" + my_url + "&embedded=true";

However, as of a day or 2 ago this no longer works AND the support page at Google:

Google Doc Viewer

Just redirects to the Google Docs homepage. (It used to provide a way to get the 'viewer link' by inputting your document's url.)

Anyone else running into this issue?


Solution

  • Looks like this suddenly started working again a few days ago. The Google Doc Viewer link above still doesn't go to a dedicated page for the feature (it just redirects you to your Google Drive homepage), but the embedded doc viewer is again working. I guess Google can giveth and taketh away at any time. :)