• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

PDF embed API - File preview error

New Here ,
Dec 25, 2022 Dec 25, 2022

Copy link to clipboard

Copied

Hi. I want to embed PDF on my website by API but got a File preview error.

The demo file run well, as I added the credential of my website.

 

The following link is my website to conduct PDF embed:

https://gyulab.github.io//projects/2021/12/06/temp.html

And the github link to view code:

https://github.com/gyulab/gyulab.github.io/blob/master/_posts/Projects/2021-10-15-temp.md

 

As you see, using <iframe> or <embed> shows the file, but the file with API not working.

 

I have tried to alter the url as follows, but none of these work:

1) Google Drive Preview file: https://drive.google.com/file/d/1rkZbHboUDY52Shh0kEoPs_rF7NYesnmq/preview

 

2) Github directory:

_posts/Projects/MS482_Report_20180583_Gyujun_Jeong.pdf

 

3) Github direct link (raw file): ttps://github.com/gyulab/gyulab.github.io/raw/9113cbc5602d0fb3177408304d38be8e99c8c72f/_posts/Projects/MS482_Report_20180583_Gyujun_Jeong.pdf

 

All solution would be appreciated.

 

 

TOPICS
PDF Embed API , PDF Services API

Views

72

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources