Video

Parent NativeDisplayObject
Library native.*
Revision Release 2024.3703
Keywords video, video view, video overlay
See also native.newVideo()

Overview

A video object is a native display object associated with native.newVideo().

Gotchas

On iOS, there’s a limit to the number of simultaneous video objects that can be played.

Properties

(Inherits properties from NativeDisplayObject)

object.currentTime

object.isMuted

object.totalTime

Methods

(Inherits methods from NativeDisplayObject)

object:load()

object:pause()

object:play()

object:seek()

Also

Setting Native Property "IgnoreErrors" to true would prevent error alert going off on Android:

video:setNativeProperty( "IgnoreErrors", true )