media.playVideo - Corona Simulator

Hi to all,
i don’t understand why this code does not work.
Can’t see anything in Corona Simulator (ver: 2010.109 - 2010.9.30) iPhone4
Don’t play any video.

local trace=function(text,posx,posy)  
 local fontsize=32  
 local test = display.newText(text, posx, posy, "Courier", fontsize)  
 test:setTextColor(255, 255, 255, 255)  
end  
  
local onComplete  
onComplete = function(event)  
 trace("video finito",32,80)  
end  
  
trace("Init video",32,40)  
media.playVideo("test.m4v", true, onComplete )  

Can you help me?
Thank’s in advances,
Fabrizio [import]uid: 4168 topic_id: 3278 reply_id: 303278[/import]

Hi to all,
Ok, in the Corona terminal i have:
[text]
The file sandbox for this project is located at the following folder:
(/Users/fabrizio/Library/Application Support/Corona Simulator/video-59FA34918528804690CB5F3190438EE6)
WARNING: Simulator does not support device video
[/text]
solutions for this?
can you help me please? :frowning:

Regardes,
Fabrizio [import]uid: 4168 topic_id: 3278 reply_id: 9954[/import]

Hello Fabrizio!

The simulator doesn’t play video. You have to build for device or the xCode simulator!

Had the same headache a few days ago :slight_smile: [import]uid: 10657 topic_id: 3278 reply_id: 9964[/import]

thank’s you for reply :slight_smile:

I can’t build for iPhone (Xcode Simulator) because i don’t have any Code Signing Identity.
what i do?

thank’s again!
Fabrizio [import]uid: 4168 topic_id: 3278 reply_id: 9976[/import]

pay apple your $99. how will they make their billions from us all otherwise?
[import]uid: 6645 topic_id: 3278 reply_id: 20004[/import]