Skip to main content
jayj8720388
Participant
September 9, 2021
Question

PDF Embed API - Starting Page

  • September 9, 2021
  • 1 reply
  • 608 views

Hello,

 

Is there a way to set the embedding PDF to jump to a certain page?  I do not mean the jump function in the full window display, I mean when the PDF first loads.  For example, to load a PDF file and go to page 7 without any user intervention.  The demo works great, but always starts at page 1.

 

Thanks,

Jay

 

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
September 9, 2021

I have a working example at this CodePen.

 

https://codepen.io/practicalPDF/pen/dyMzNqa?page=4

 

The key to making that example work is adding "?page=n" to the end of the URL where "n" is the page you want to go to.