Nirav Mehta
Nirav Mehta

Reputation: 7063

How to display 3D PDF in Chrome & Firefox Browser

I've to display 3D PDF in browser and few browsers doesn't support 3D PDF like Chrome, Firefox, Mobile browser.

How can we detect / update the default PDF viewer plugin in Chrome & Firefox through code?

Can detect Adobe Reader plugins for all the browser as well using this code.

My query is I want to disable the default PDF viewer plugin and enable Adobe Reader plugin through code [javascript]. Is there any possible solution for this?

Upvotes: 1

Views: 29019

Answers (2)

Muhammad Abu ul Fazal
Muhammad Abu ul Fazal

Reputation: 139

Since Google has disabled the NPAPI support, therefore, Adobe reader cannot be configured to view PDF file within Chrome and many other modern browsers. See link below:

https://helpx.adobe.com/acrobat/kb/change-in-support-for-acrobat-and-reader-plug-ins-in-modern-web-.html

Upvotes: 0

Nirav Mehta
Nirav Mehta

Reputation: 7063

I've got work around to display 3D PDF in Chrome but disabling the default PDF Viewer plugins and enabling the Adobe Reader plugins from chrome://plugins/ in chrome browser.

Chrome Plugins Settings:

Chrome Plugins Settings

Firefox Plugins Settings: Firefox Plugins Settings

But still looking for this settings to be updated from code.

Upvotes: 1

Related Questions