preload

MJS / AC Piece API / network / done
async preload(path, parseJSON = true, progressReport, options)

Preload a media asset from the network.

Parameters

Name Type Required Description
path string yes Asset URL or path.
parseJSON boolean no Auto-parse JSON responses.
progressReport function no Progress callback.
options object no Fetch options overrides.

Returns

Promise<any>

Examples

No explicit examples yet.

Open prompt to experiment live.

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview