You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- MediaBox
- JCE Editor
- Files not/randomly showing in Google Doc Viewer
I'm having issues with showing PDF files in Google Doc Viewer as iFrame on my pages. I have been using this option for over a year now. This is the first time we have this problem.
When we loan the page, in most cases, it will show the PDF just fine. But in some cases, the viewer is empty or not loading.
Example of pages attached.
This is a Joomla 3.9.22 and JCE Pro 2.8.18 website.
When we loan the page, in most cases, it will show the PDF just fine. But in some cases, the viewer is empty or not loading.
Example of pages attached.
This is a Joomla 3.9.22 and JCE Pro 2.8.18 website.
Not really much that can be done about this as the pdf is being displayed by an external service, so the issue may lie with that.
You could just try embedding the pdf directly in the iframe, rather than via Google Docs. All modern browsers now include built in pdf support.
You could just try embedding the pdf directly in the iframe, rather than via Google Docs. All modern browsers now include built in pdf support.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Not really much that can be done about this as the pdf is being displayed by an external service, so the issue may lie with that.
You could just try embedding the pdf directly in the iframe, rather than via Google Docs. All modern browsers now include built in pdf support.
You could just try embedding the pdf directly in the iframe, rather than via Google Docs. All modern browsers now include built in pdf support.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#111410
I have the same problem highlighted.
I have noticed that the problem persists on desktop and not on mobile.
Is there a way to tell joomla / jce not to load the google viewer when we are on desktop and to keep it only on mobile?
A script that use different viewer, browser viewer only with recent desktop browser, and Google doc viewer on mobile.
Thanks
I have noticed that the problem persists on desktop and not on mobile.
Is there a way to tell joomla / jce not to load the google viewer when we are on desktop and to keep it only on mobile?
A script that use different viewer, browser viewer only with recent desktop browser, and Google doc viewer on mobile.
Thanks
Is there a way to tell joomla / jce not to load the google viewer when we are on desktop and to keep it only on mobile?
A script that use different viewer, browser viewer only with recent desktop browser, and Google doc viewer on mobile.
No, not without additional javascript to detect the device type and then change the iframe url from Google Docs to just he pdf url.
It would be easier to just display the pdf directly in an iframe, without using Google Docs. Most modern browsers support this now.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!