media.playVideo() troubles when playing videos in sequence

The first video plays, then if I try to start playing a second video in the onComplete handler, the second video won't play.
Moreover, aftwer a few tries the application freezes.
This is the code I'm using:

1
2
3
4
media.playVideo( "app-test.mp4", true, 
            function (event)
                media.playVideo( "app-test.mp4", true, nil)
            end)
views:1341 update:2011/10/11 15:24:38
corona forums © 2003-2011