Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Adding custom Headers parameter to PIXI.Texture.from request

$
0
0

Hey guys!

I need to add a UID to my headers for getting Texture (video or images).

Is there any way to do this in PIXI?

For example:

PIXI.Texture.from(testVideo, {header: {
	'UID': 'XXX'
}});

I also tryed PIXI.Texture.fromUrl but had the same result.


Viewing all articles
Browse latest Browse all 3978

Trending Articles