Hello there!
I am not certain if this is what you want, but I read your question to ask if you can have a PDF (or other embedded file) auto-load in a page without a link?
If this is the case, I am using some HTML to do so. Here's the string:
<p style="font-size: 0px;">
<a class="auto_open instructure_file_link instructure_scribd_file"></a>
</p>
Copy the HTML in red above over the HTML between the red brackets in the screen shot below (the default string Canvas brings in when you embed a file through the course link):
![2021-03-07_21-58-06.png 2021-03-07_21-58-06.png](https://community.canvaslms.com/t5/image/serverpage/image-id/62950i0C40F7A4E3C6532E/image-size/large?v=v2&px=999)
So it ends up looking like this:
![2021-03-07_22-03-56.png 2021-03-07_22-03-56.png](https://community.canvaslms.com/t5/image/serverpage/image-id/62951i69D4A8A8C682F45C/image-size/large?v=v2&px=999)
As the HTML shows, you are basically setting the link font size to "0", making it invisible. In order for the file to open (since there isn't a link anymore, or it's invisible) you see the auto-open feature.
As above, you can use this for a PDF or a PowerPoint.
Hope this helps!
Jamie 🙂
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.