Initialize the "video" system (create a canvas based on the given arguments, and the related renderer).
The width of the canvas viewport
The height of the canvas viewport
Optional
optional parameters for the renderer
false if initialization failed (canvas not supported)
video
// init the video with a 640x480 canvasme.video.init(640, 480, { parent : "screen", renderer : me.video.AUTO, scale : "auto", scaleMethod : "fit"}); Copy
// init the video with a 640x480 canvasme.video.init(640, 480, { parent : "screen", renderer : me.video.AUTO, scale : "auto", scaleMethod : "fit"});
Initialize the "video" system (create a canvas based on the given arguments, and the related renderer).