# 1.0.9: Trying to embed a PDF with an iFrame with the HTML component

**URL:** <https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115>\
**Category:** Elements\
**Created:** [July 23, 2025, 6:32pm UTC](https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115 "2025-07-23T18:32:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![refsvik](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/refsvik/32/29443_2.png) [@refsvik](https://forums.realmacsoftware.com/u/refsvik)\
**Post date:** [July 23, 2025, 6:32pm UTC](https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115/1 "2025-07-23T18:32:21Z")

</div>

Not knowing any better, I created a HTML-component, pasted this in:

…and proceeded to drag a pdf file from my pdf folder in Resources to the src location in the code.

This is what happened. Do not quite know how to proceed from here, as I see no buttons…

 ![Screenshot 2025-07-23 at 20.27.30](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/1/01b0a5fcd42de68aeac67ea78efb991b8d159715.jpeg)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [July 23, 2025, 6:35pm UTC](https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115/2 "2025-07-23T18:35:10Z")

</div>

Try just hitting the “return key”

---

<div class="post-metadata">

**Author:** ![refsvik](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/refsvik/32/29443_2.png) [@refsvik](https://forums.realmacsoftware.com/u/refsvik)\
**Post date:** [July 23, 2025, 6:35pm UTC](https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115/3 "2025-07-23T18:35:48Z")

</div>

Worked. Typed in the correct file-name and everything embeds and works.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [July 23, 2025, 6:36pm UTC](https://forums.realmacsoftware.com/t/1-0-9-trying-to-embed-a-pdf-with-an-iframe-with-the-html-component/49115/4 "2025-07-23T18:36:01Z")

</div>

Glad you got it sorted!
