Play Video with Listener to hand back control to the App

Is there an example of a playing video with a listener to hand back control to the app.

Thanks. [import]uid: 1908 topic_id: 563 reply_id: 300563[/import]

local onComplete = function(event)

print( “video session ended” )
end

media.playVideo( “Movie.m4v”, true, onComplete )

this will call the apple quicktime movie and when it completes hand back control to the app.

page 41 of the apireference guide.

Carlos [import]uid: 24 topic_id: 563 reply_id: 1114[/import]

Thanks Carlos. [import]uid: 1908 topic_id: 563 reply_id: 1123[/import]