@mocanvas/mocanvas · interface

EmbedInfo

interface EmbedInfo

What getEmbedInfo resolved a url to.


Properties · 3

definition: EmbedDefinition

The definition that recognised it.

embedUrl: string

The url to actually put in the iframe.

url: string

The *page* url — what a person would share, and what belongs in shape.props.url. For an input that was already a page url this is the input verbatim; for an input that was an embed url it is the recovered page url.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.