URL: createObjectURL() static method - Web APIs | MDN
Syntax
js
URL.createObjectURL(object)
Parameters
object-
A
Blob(such as aFile) orMediaSourceobject to create an object URL for.
Return value
A string containing an object URL that can be used to reference the
contents of the specified source object.
Examples
Specifications
| Specification |
|---|
| File API # dfn-createObjectURL |