I am trying to embed a PDF document using google docs viewer:
<iframe src="http://docs.google.com/gview?url=MY_FILE_URL&embedded=true" style="border: none;" height="900" width="100%"></iframe>
and Its working fine, but when I try to refresh the page multiple times.. sometimes IFrame content does show up and some other times It doesn't,and I get an empty head and body inside "IFrame " tag
- tried to set expires to: 0
- tried to add random numbers: MY_FILE_URL?var=rand() to solve some cash issue
- tried to add IFrame using jquery on after page has loaded
nothing seems to solve my problem..