native.newVideo into a Group

I need insert the native.newVideo control into a Group, because I need to slide with al te content when a scroll the screen…

Any help?

Regards [import]uid: 127670 topic_id: 29046 reply_id: 329046[/import]

Native objects do not work in groups. (See docs for more info.)

You might be able to put an image in place of it and simply display the video when appropriate? [import]uid: 52491 topic_id: 29046 reply_id: 116879[/import]

then I should make an image that when you press on it to show me the video in full screen using “media.playVideo”.

My question now is, Can capture the event “Pause” of “media.playVideo” to display a button that allows me to close the video and return to the previous screen?

So far I can only capture the event OnComplete, but that brings me to wait until I finish playing the video. [import]uid: 127670 topic_id: 29046 reply_id: 116893[/import]

You could get currentTime then use seek; http://developer.coronalabs.com/reference/index/nativenewvideo

That would be like “pause” even though you’d remove and reload the video later.

For pause you can simply add something in the pause function.

For specifics you should use this section; http://developer.coronalabs.com/forum/2012/04/02/nativenewvideo

(This is presuming you are using native.newVideo as you mention in original post and not media.playVideo as you mention in your second post.)

If using the latter then I believe no RE pause though you’d want to double check docs, native.newVideo is much more versatile. [import]uid: 52491 topic_id: 29046 reply_id: 117002[/import]