I am trying to embed a pdf file in HTML and I am getting an error. Here is my code:
<embed src="https://drive.google.com/file/d/1Ur7D9yOxCdKND-aPoY_DkVqa9_071Eaj" width="600" height="500" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"> The error I am getting is : Refused to display 'https://drive.google.com/file/d/1Ur7D9yOxCdKND-aPoY_DkVqa9_071Eaj/edit' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Update:
I have tried to use iframe and I am getting the same error
<iframe src="https://drive.google.com/file/d/1Ur7D9yOxCdKND-aPoY_DkVqa9_071Eaj"></iframe>