Video Skip Button

Hi,

I’d like to show a fullscreen video in one of my scenes, and would like to offer the user a way to skip it.

  • I looked at native.newVideo, but as it is a native object, it cannot have anything on top of it.
  • I looked at media.playVideo, but was enable to have a button on top of it, and it doesn’t seem to allow for resizing the video player
  • I thought about adding a tap event to the media, but that didn’t work :slight_smile:

Is there a way to have a fullscreen video with a skip button?

Thanks!

S. [import]uid: 133444 topic_id: 30342 reply_id: 330342[/import]

This is in regards to the [lua]media.playVideo()[/lua] function…

On Android, you can skip the video by pressing the Back button.
On iOS, I believe you can skip the video by pressing the Done button on the top left corner of the screen, but you have to set the “showControls” argument to true. [import]uid: 32256 topic_id: 30342 reply_id: 121571[/import]

This is in regards to the [lua]media.playVideo()[/lua] function…

On Android, you can skip the video by pressing the Back button.
On iOS, I believe you can skip the video by pressing the Done button on the top left corner of the screen, but you have to set the “showControls” argument to true. [import]uid: 32256 topic_id: 30342 reply_id: 121571[/import]