Embedded Google Docs. The PDF viewer displays the login page, not the PDF.

I have a webpage in which I will embed the Google Doc Viewer in iFrame

<iframe src="http://docs.google.com/viewer?url=URL-encoded-URL&embedded=true" width="750" height="960" style="border: none;"></iframe>

(where the URL-encoded URL is the actual encoded URL).

For many / most of my users, the PDF PDF Doc viewer appears and displays the specified PDF file.

But some of my users instead see the Google Docs page with a login field. I have no idea why this is happening. Has anyone heard of this? And more importantly, know why, and what can be done to provide a PDF file.

+3
source share
1 answer

. , () google, . : , . " ", , iframe, .

, , , Google?

+4

Source: https://habr.com/ru/post/1768441/


All Articles