How to create my website embed (preview on confluence page)

Hi there!

When I paste a YouTube or Miro link into a Confluence page, there is an option to embed the link as an iFrame. However, when I try to embed a link to my own web application, the embed option is not available and there is only a card option. I’m wondering if there’s a way to enable the embed option for my web application, or if this feature is only available for certain applications like YouTube and Miro.

Thank you for your help!