Hi
I have this lines of code:
layer.video = native.newVideo( display.contentCenterX, display.contentCenterY,display.contentWidth, display.contentHeight) layer.video:toFront(); layer.video.oriX = layer.video.x; layer.video.oriY = layer.video.y layer.video.oriXs = layer.video.xScale; layer.video.oriYs = layer.video.yScale layer.video.alpha = 1; layer.video.oldAlpha = 1 layer.video:load( composer.videoDir..videoname, system.ResourceDirectory) layer.video:addEventListener( "video", videoListener ) layer.video:play() layer.video.name = "video" sceneGroup:insert( layer.video); sceneGroup.video = layer.video
But
on iOS -> works
on Samsung S2 Phone -works
only on my tablet the videos are not playing…I have no idea why…
And the other problem is that the videos on android are not centered.
They are always on the left side of the screen.
Can anyone help me?