Monday 30 October 2023

File upload / embed example

 Here's how we share a file on a blog.

Here's a file . Here' the link again 

 
  Linking a PDF document from Google Drive 

Select the PDF file you want to embed. 

Right click -> Preview -> More actions -> Open in a new window. 

Now click More actions -> Embed item. 

Copy the embed code and paste it on your blog post. Make sure the file is publicly available.

Code Sample

<iframe allow="autoplay" height="480" src="https://drive.google.com/file/d/10M0Ptz6Jw-ZIcRGvFhaqQ8MtKItyb2jP/preview" width="100%"> 

</iframe>

No comments:

Post a Comment