object:play()

Type Function
Object Video
Library native.*
Return value None
Revision Release 2024.3703
Keywords play, video, video view, video overlay
See also native.newVideo()

Overview

Plays the currently loaded video. Use this in conjunction with native.newVideo().

Gotchas

You can detect when a video is ready to play via a video event where event.phase is equal to "ready".

Syntax

object:play()