# Set iframe or embedded page width height automatically based on source

**URL:** <https://forum.wixstudio.com/t/set-iframe-or-embedded-page-width-height-automatically-based-on-source/8220>\
**Category:** Ask the community\
**Tags:** code\
**Created:** [September 7, 2018, 6:48pm UTC](https://forum.wixstudio.com/t/set-iframe-or-embedded-page-width-height-automatically-based-on-source/8220 "2018-09-07T18:48:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [July 18, 2024, 8:54pm UTC](https://forum.wixstudio.com/t/set-iframe-or-embedded-page-width-height-automatically-based-on-source/8220/5 "2024-07-18T20:54:42Z")

</div>

This is only possible in Wix-Studio. And even there it is not completely the way, like you would expect it.

There was a similar discussion here…

> [@Custom Components Integrated into Editor + React.js](https://forum.wixstudio.com/t/custom-components-integrated-into-editor-react-js/57143/8):
>
> I’m not sure if this will work with HTML Embeds. But instead of HTML Embeds you can use custom elements to fix this.

…check it out.

---

_[View the full topic](https://forum.wixstudio.com/t/set-iframe-or-embedded-page-width-height-automatically-based-on-source/8220)._
