Generic Embed
As a fallback, values satisfying isValidUrl
in @social-embed/lib
will render as <iframe>
s.
Basic
HTML
URL: https://netlify.com
<o-embed url="https://netlify.com/"></o-embed>
Styled
<style>
o-embed.full {
--social-embed-iframe-height: 100%;
--social-embed-iframe-width: 100%;
width: 100%;
height: 450px;
}
</style>
<o-embed url="https://en.wikipedia.org" class="full"></o-embed>