pixi-jsFunctions
Function: crossOrigin()
> crossOrigin(element, url, crossorigin?): void
Defined in: node_modules/pixi.js/lib/assets/loader/parsers/textures/loadVideoTextures.d.ts:15
Set cross origin based detecting the url and the crossorigin
Parameters
element
ImageLike | HTMLVideoElement
Element to apply crossOrigin
url
string
URL to check
crossorigin?
string | boolean
Cross origin value to use
Returns
void