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