user3774567
user3774567

Reputation: 1

How to render movie in phaser Canvas background?

This seems to work: http://html5doctor.com/demos/video-canvas-magic/demo1.html

But how can I put the movie into phaser context to play it in the background?

Upvotes: 0

Views: 744

Answers (2)

Davuz
Davuz

Reputation: 5276

Phaser supports rendering videos. You can find an example on the phaser examples site.

Upvotes: 1

Jojo.Lechelt
Jojo.Lechelt

Reputation: 1279

Create a pixi.textures.VideoTexture and apply the texture to a sprite object.

Upvotes: 0

Related Questions