Jump to content

How to play a responsive and fullscreen video


Recommended Posts

Probably you'll want to use fullScreenScaleMode SHOW_ALL instead of EXACT_FIT, to avoid stretching.

The video display itself needs to be scaled to fit the game canvas:

videoImage = video.addToWorld();

var videoScale = Math.min(game.width / video.width, game.height / video.height);



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...