Hi Rob, this is my config.lua
application = { content = { width = 480, height = 800, scale = "zoomStretch", fps = 30, }, }
This is my main.lua
local h = 400 local w = 240 local x = display.contentCenterX local y = display.contentCenterY local video = native.newVideo( x, y, w, h ) video:load( "video.mp4") -- play video video:play()
Here are the screen shots, the first is from the main.lua above and the second from same main.lua but with this change
local h = 400 local w = 240
The second image looks like the video is centered, but no, the distances to left and right edges of the screen differ in like 29 pixels.
Thanks in advance.