Questions tagged [google-document-viewer]

Use for question about the Google Docs Viewer

Use for questions about the Google Docs Viewer. Use together with the web browser used and the file type to be viewed. If the viewer is used embedded in a web page use together with .

Related tags

File formats

Web Browsers

Programming Languages

80 questions
16
votes
7 answers

Google doc no preview available error

I used the google doc to display the pdf file in web broswer. It was working fine before. Now it gives no preview available. Most of the time it gives the blank screen with no preview available but sometime it opens the pdf. However i noticed that…
beck
  • 2,967
  • 3
  • 16
  • 27
12
votes
1 answer

Google Doc Viewer: Which formats are really supported?

I'm using Google Docs Viewer to embed all kind of documents. However I am having trouble to find out which formats are really supported. On the offical Docs Viewer website (https://docs.google.com/viewer) Google links to a nice list of all supported…
Michaël
  • 143
  • 1
  • 2
  • 10
11
votes
3 answers

How to disable pop-out option in pdf viewer with google doc iframe?

I am using following code to display pdf using google with iframe.. It's working fine. But I want to disable "pop-out" option (which on click opening my pdf in new tab with google docs) shown on right upper corner beside zoomin option on my webpage.…
9
votes
1 answer

Google viewer is opening blank page frequently

Why Google Viewer sometimes is opening a blank page instead of open the PDF file? I could simulate it using this code. It doesn't happen every time. It will be necessary to click on the Google Viewer button few times. I could simulate it on Edge and…
9
votes
3 answers

Google Document Viewer shows "No Preview Available"

I have used Google Document Viewer to open PDF files in my Android device. A black screen with "No Preview Available" text is shown, instead of opening my PDF files. I have tested with sample PDF files from Google. They are working fine, but not my…
msg
  • 1,480
  • 3
  • 18
  • 27
5
votes
1 answer

how to integrate google docs in web application (preview, edit, save)

I want to integrate google docs in web application (Angular 10) for preview, edit and save. I have documents stored on my server. I want to preview documents using google docs which stored on my server(it can be stored on Amazon S3 or Azure etc). I…
4
votes
0 answers

Viewing PDF via Google docs viewer returns blank screen sometimes on Iphone

I am trying to show PDF documents, for safari browser users (iPhone/iPad) devices. So first i put iframe for previewing PDF on browser, that didn't helped at all, iframe was making PDF partial preview, like only one page of PDF was visible, no other…
Osama Abid
  • 95
  • 1
  • 8
4
votes
0 answers

Google docs Viewer: Remove Zoom-in and Pop-Out

How can we remove pop out and zoom in option from google docs viewer in android app ? I have tried this: but it doesn't remove the black background present below the pop out icon. webview.setWebViewClient(new WebViewClient() { @Override …
Apoorv Mehrotra
  • 607
  • 5
  • 13
4
votes
1 answer

Google Docs Viewer for rendering HTML

I'm using Google Docs Viewer (https://docs.google.com/viewer) to display the contents of documents in my app. I support many different types of document (e.g. PDF, Microsoft Word, Plain Text, HTML, etc.). Everything works well except for HTML. …
Johnny Oshika
  • 54,741
  • 40
  • 181
  • 275
3
votes
1 answer

Local path of doc file in iframe

If you go and open this link, you will see a doc word file rendered in the page. https://docs.google.com/viewerng/viewer?url=http://writing.engr.psu.edu/workbooks/formal_report_template.doc Now how can I pass my own files in url to open them using…
Mlle 116
  • 1,149
  • 4
  • 20
  • 53
3
votes
0 answers

Google docs viewer get tht total number of pages in document?

I am opening documents (pdf,docx,pptx) at my site using google docs viewer in an iframe. How can I get the total number of pages in the document and also how to get the current page number?
israr
  • 1,155
  • 15
  • 28
3
votes
0 answers

Google doc viewer : protect files

I embed documents via a Google doc viewer iframe into my site: $('#previewContainer') .html('