Vizel API / core/src / loadVizelEmbedScripts
Function: loadVizelEmbedScripts()
ts
function loadVizelEmbedScripts(container, provider?): void;Defined in: packages/core/src/extensions/embed-renderers.ts:125
Re-parent any <script> tags inside an oEmbed container so the browser actually executes them (innerHTML-inserted scripts are inert).
Optionally invokes provider-specific bootstrap (Twitter widgets) when the provider is "twitter". Framework VizelEmbedView components call this helper after their effect runs.
Parameters
| Parameter | Type |
|---|---|
container | HTMLElement |
provider? | string |
Returns
void