ImportFromURL.url

A HTTP/HTTPS URL to the content.

ImportFromURL.url property

A HTTP/HTTPS URL to the content.

Signature:

url: string;

Remarks

The server must allow cross-origin (CORS) requests.

Example

// Lottie JSON
{ type: "LOTTIE", url: "https://example.com/animation.json" }

// dotLottie
{ type: "LOTTIE", url: "https://example.com/animation.lottie" }

// SVG
{ type: "SVG", url: "https://api.example.com/graphic.svg" }

// Image
{ type: "IMAGE", url: "https://example.com/image.png" }

// Audio
{ type: "AUDIO", url: "https://example.com/music.mp3" }
Last updated: October 8, 2026 at 10:45 AMEdit this page