PDF embedded in page / dmx.parse inside a Javascript

Have you tried downloading the file from S3 to your server first, and only then sending its path to Adobe? In this case, you need to receive the file using a server-side extension and pass the path to it to the front