getEmbedInfo
Tests whether an URL supports embedding and returns the result. If we encounter an error, we return undefined.
function getEmbedInfo(inputUrl: string): TLEmbedResult
Parameters
Name | Description |
---|---|
|
The URL to match |
Returns
TLEmbedResult