---
title: "Adding Slide Presentations or PDF Viewers"
description: "Embed slideshows or PDFs in your lessons"
url: https://help.teachery.co/en/articles/178-adding-slide-presentations-or-pdf-viewers
collection: "Using Embed Blocks"
updated: 2026-07-14
language: en
---

# Adding Slide Presentations or PDF Viewers

Embed slideshows or PDFs in your lessons

Just like [adding videos](https://help.teachery.co/en/articles/180-adding-videos-using-wistia-vimeo-youtube-google-drive-etc.md) and [adding audio](https://help.teachery.co/en/articles/179-adding-audio-to-course-lessons-using-soundcloud.md) to your course lessons, embedding presentations or PDFs in Teachery is really simple when using our **Add Content Block** functionality.

## Embedding a Presentation

You may have created an out-of-this-world presentation in Keynote, Powerpoint, Canva, Google Slides, Prezi, Slideshare, etc., and you want to embed that amazing presentation right in your course.

Watch the walk-through video to learn how to easily embed slide presentations in your course lessons (jump to any of the video chapters for specific examples).

> **Info:** **Note**: the content block displayed in the video has since changed. When adding a new content block to your lesson, the second step will be to select either an **Embed Code** block or **Text/Image** block - be sure to select the first option. 😉

In short, the steps are to:

1.  Click the **Add Content Block** button in a lesson.
    
2.  Select the **Add Embed Code** option.
    
3.  Paste your embed code into the field and click the _Preview_ embed button.
    
4.  If everything looks good, hit _Save_ and you're done! 
    

> **Warning:** **Important**: When grabbing embed code from another service, make sure you're grabbing the <iframe> or <script> code completely (not just a simple URL).

## Embedding a PDF

To embed a PDF viewer, follow the steps above and insert the <iframe> code below - but be sure to replace the placeholders with your file info.

### Google Drive Files

Upload your PDF to Google Drive, set it to "**Anyone with the link can view**", then use this embed code in an **Embed Code** content block. Replace `YOUR_FILE_ID` with the ID from the sharing URL.

```javascript
<iframe
  src="https://drive.google.com/file/d/YOUR_FILE_ID/preview"
  width="100%"
  height="auto">
</iframe>
```

### Third-Party PDF Widgets

Platforms like [**Elfsight**](https://elfsight.com/pdf-embed-widget/) or [**Common Ninja**](https://www.commoninja.com/widgets/pdf-gallery) can generate a PDF viewer widget. You upload your PDF (or provide a URL), customize the viewer appearance, copy the generated embed code, and paste it into Teachery’s **Embed Code** field.
