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