I understand very well the importance of the URL in the Joe Workman PDF Embed stack. The address of the PDF must be that of the site. https://www.mysite.com works differently than http://mysite.com in that regard.
On my site I have a PDF Embed page with the following URL:
You need to use an htaccess rule to force a redirect to either www or non-www. www or non-www is also treated by google as two separate urls, so it should be done for SEO purposes as well. So you need to choose which you prefer - www or non-www.