ImportFromContent.content
Import content from a string.
ImportFromContent.content property
Import content from a string.
Signature:
content: string;Remarks
For
LOTTIE, provide the full Lottie JSON string - ForSVG, provide the full SVG markup string - ForAUDIO, provide base64-encoded audio, as adata:URI or as plain base64
To send audio from the plugin UI, encode it as base64 in the UI and post the string.
Example
// Lottie JSON
{ type: "LOTTIE", content: '{"v":"5.5.7","fr":60}...' }
// SVG
{ type: "SVG", content: '<svg width="100" height="100">...</svg>' }
// Audio
{ type: "AUDIO", content: 'data:audio/mpeg;base64,SUQzBAAAAAAA...' }Last updated: October 8, 2026 at 10:45 AMEdit this page