Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PDFjs to 4.x #133

Open
philippebourcier opened this issue Nov 7, 2023 · 1 comment
Open

Update PDFjs to 4.x #133

philippebourcier opened this issue Nov 7, 2023 · 1 comment

Comments

@philippebourcier
Copy link

PDFjs 4.x is out with some breaking changes, optimizations and bugfixes. 馃殌

@MartinX3
Copy link

MartinX3 commented Jan 13, 2024

Luckily the 2.x version can also use native HTML5 instead of PDFjs.

But on the other side if you only need the HTML5 rendering you can just do

<object data="https://foo.com/bar.pdf" type="application/pdf" width="100%" height="500px">
	<p>Unable to display PDF file. <a href="https://foo.com/bar.pdf">Download</a> instead.</p>
</object>

and avoid this extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants