Hey,
I’m having issues with native.newVideo() on Android. My full screen video appears fine on iOS, however on Android it appears horizontally stretched and I also can’t adjust it with yScale, because it is unresponsive to it (it works on iOS though).
This is my config.lua:
content = { width = 1080, height = 1920, scale = "zoomEven", fps = 60, yAlign = "top" }
and this is the code I import my video with:
video = native.newVideo(center\_x, center\_y, display.contentWidth , display.contentHeight) video:load(system.pathForFile("assets/my\_video.mp4", system.ResourceDirectory))
It looks good on iPhone 5, iPhone 6S, but I just can’t get it to appear properly on Android.
media.playVideo() crossed my mind, but I can’t override its touch events if I’m correct and it also appears stretched, which is the bigger issue.
Video resolution: 1080 x 1920
Any ideas?