Hi,
I want to play a video in a box on top of my app (not in a separate player) as a quick tutorial.
The video is a MP4 file, 324x480, H.264 AVC. It is stored in the main project folder along with main.lua.
When I use this code on (Android) device I get a “cannot play video” error.
local vide = native.newVideo( display.contentCenterX, display.contentCenterY, 324, 480 ) vide:load("11tut.mp4") vide:play()
Any ideas why that happens?