Get a path to a resource in the resources directory, relative to the current execution context (html file or worker .js file), for fetch(), <img>, <video>, etc. Pass the cross origin host name if wants to load resoruce from cross origin host.
resources
fetch()
<img>
<video>
Generated using TypeDoc
Get a path to a resource in the
resources
directory, relative to the current execution context (html file or worker .js file), forfetch()
,<img>
,<video>
, etc. Pass the cross origin host name if wants to load resoruce from cross origin host.