Hi everyone,
I’m trying to end a video when tap the screen. I’m doing this:
function videoListener( event )
if skipVideo == 1 then
event.phase = "ended"
end
if event.phase == "ended" then
video:removeSelf()
video=nil
--print( "Video playback has ended." )
end
end
Nothing happened when i do that.
Any idea of why??
Thank you! [import]uid: 105206 topic_id: 27780 reply_id: 327780[/import]