Please Help! Want user to skip video by touching screen.

Hi all!

I am trying to figure out how to let a player skip an intro video in my game by touching the screen. I cant use a button or a display object because the video plays back in full screen.

Anyone have any thoughts ideas? Sample Code? Please Help!

Best,
Scott Shapiro
Code Delivery Boy

[import]uid: 46725 topic_id: 31277 reply_id: 331277[/import]

Hi Scott,
Which method are you using to play back the video, and on which OS? iOS or Android? I’m not an expert on video playback, but if iOS, you might have luck using “native.newVideo”, NOT “media.playVideo”. The native version is more like a Corona display object, not a video dependent on the internal media player, so you should be able to position it and put an invisible touch sensor over it.

http://docs.coronalabs.com/api/library/native/newVideo.html

Do you think this might work?

Brent [import]uid: 9747 topic_id: 31277 reply_id: 125089[/import]

Hi Scott,
Which method are you using to play back the video, and on which OS? iOS or Android? I’m not an expert on video playback, but if iOS, you might have luck using “native.newVideo”, NOT “media.playVideo”. The native version is more like a Corona display object, not a video dependent on the internal media player, so you should be able to position it and put an invisible touch sensor over it.

http://docs.coronalabs.com/api/library/native/newVideo.html

Do you think this might work?

Brent [import]uid: 9747 topic_id: 31277 reply_id: 125089[/import]