Hello,
I have a short movie clip in both formats of mp4 and m4v.
I have used the following code to play the video when the play button is tapped, however, nothing happens.
I have tried the media.playVideo() without the button so it will automatically start once the scene is shown, however; nothing happens.
My computer is a mini apple Mac mini desktop, and the simulator is set to Apple 5.
local Button local function myVideo() media.playVideo( "lift.m4v", true, onComplete ) end ---- SCENE: SHOW (EVENT) Button = display.newImageRect("playbtn.png", 100, 100 ) Button.x = display.contentWidth/2 Button.y = display.contentHeight/2 Button:addEventListener("tap", myVideo)