Plugin Documentation

Add videos to your games.

Example

game.addAsset('video.mp4');

game.createScene('Main', {
    init: function() {
        this.video = new game.Video('video.mp4');
        this.video.play();
        this.video.addTo(this.stage);
    }
});