Embedded Google Docs PDF viewer displays login page rather than PDF -


i have web page in embed google docs 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 url-encoded-url actual encoded url).

for many/most of users, google pdf doc viewer appears , displays referenced pdf.

but of users instead see google docs page login box. i've no idea why happens. has heard of happening? , more important, know why, , can done ensure pdf shown.

i second zhami's comment on question. happens when (the user) has google account login has expired. login page shows them email: field filled in email asks password. if click on "change user", email field goes empty , can go iframe page , see document.

i think maybe can google bug?


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -