You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this has been asked before in #14981 but solution there does not work. Here is the scenario:
<script src="Scripts2/pdf.mjs" type="module"></script>
<script type="module">
// error occurs here pdfjsLib not defined
pdfjsLib.GlobalWorkerOptions.workerSrc = 'Scripts2/pdf.worker.mjs';
</script>
Note that I am using "pdfjs-4.0.379-legacy-dist.zip" from releases
Works on all desktop, all Android devices but not on iOS. I am testing on an iPhone 7 with v15.8 of iOS
pdfjsLib not defined early in the pipeline as shown in code above.
This discussion was converted from issue #17698 on February 20, 2024 09:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know this has been asked before in #14981 but solution there does not work. Here is the scenario:
Note that I am using "pdfjs-4.0.379-legacy-dist.zip" from releases
Works on all desktop, all Android devices but not on iOS. I am testing on an iPhone 7 with v15.8 of iOS
pdfjsLib not defined early in the pipeline as shown in code above.
Beta Was this translation helpful? Give feedback.
All reactions