Copy link to clipboard
Copied
I am looking at ways through Adobe Embed API to scroll two PDFs side by side (in respective Div or Frame in a web page) such that on scrolling one PDF other one also scroll up or down to same page (if it exist in it). Is there any way in Adobe Embed API to capture page scroll event and invoke other PDF's page scroll event to move to specific page.
Copy link to clipboard
Copied
Yep, you can listen for both page change and scroll events, and you can move a PDF to a location (page, X, Y).
Under the Viewer API docs (https://opensource.adobe.com/pdfembed-sdk-docs/howtos_ui.html#viewer-api), look for gotoLocation for second thing.
For noticing page/scroll, look in events: https://opensource.adobe.com/pdfembed-sdk-docs/howtodata.html#basic-events.
While not the exact same, I've got a blog post related to this: https://medium.com/adobetech/improving-the-reader-experience-with-adobe-embed-api-5079498411d9