Can I load a pdf files from another server ?
Yes it is possible to use PDF files from another server, you just need to enable CORS.
Example:
If the pdf file is on another server – you need to add this code to the file ’.htaccess’:
( on this server where the pdf file is )
More information about CORS:
https://cloud.google.com/storage/docs/cross-origin
Example:
If the pdf file is on another server – you need to add this code to the file ’.htaccess’:
Header set Access-Control-Allow-Origin "*"
( on this server where the pdf file is )
More information about CORS:
https://cloud.google.com/storage/docs/cross-origin