I want to embed a PDF into a page where the page displays the page not the link I uploaded from a computer.

Jump to solution
ErickaEppler
Community Explorer

I want to embed a PDF into a page where the page displays the page, not the link I uploaded from a computer. How do I do that? 

Labels (1)
0 Likes
2 Solutions

Hi again, @ErickaEppler ...

I just wanted to also include an example of what the HTML code might look like.  In this example, I used a PowerPoint file, but the code should be similar for a PDF file or Word document.  Please note that I have highlighted some ID numbers and other information so that it's a little more generic.  These numbers would be different for you...including where it says "SchoolName" in the URL.

<p><a class="instructure_file_link instructure_scribd_file auto_open" title="Link" href="https://SchoolName.instructure.com/courses/1234567/files/123456789?wrap=1" target="_blank" rel="noopener" data-canvas-previewable="true" data-api-endpoint="https://SchoolName.instructure.com/api/v1/courses/1234567/files/123456789" data-api-returntype="File">Reflection on Learning.pptx</a></p>

Also, here is the Guide on how to view the HTML code on any given content page in your course:

How do I use the HTML view in the Rich Content Editor as an instructor?

I hope this helps as well!  Keep us posted!

View solution in original post

0 Likes
ErickaEppler
Community Explorer
Author

@Chris_Hofer I tried recreating the link many times,  but it did not work. I then tried your suggestion, and that works! The difference was in the HTML where your sample file coded "auto_open," but the inline preview was disabled in my file. Now I can see the preview. Thank you!

View solution in original post