Cannot create path for resource file

Hi! I've been searching for an answer, but all I got were old bug-related posts.

I need to play a video (MPEG-4), so I am calling

1
media.playVideo("vid/mpeg-4-5sec.mpg", true, videoEnded)

One thing bothers me: I have no problem at all with images!

For example, I select a random image from a list:

1
2
3
4
5
6
7
local menuImages = {
                        "img/menu/discobolus.png",
                        "img/menu/boxer.png",
                        "img/menu/pontifex.png"
                   }
 
local image = display.newImage(menuImages[math.random(table.getn(menuImages))], true)
views:1409 update:2011/12/1 20:56:45
corona forums © 2003-2011