API Docs for: 1.13.1
Show:

game.Video Class

Extends game.Class
Module: renderer

Constructor

game.Video

(
  • source
)

Parameters:

  • source String

Methods

_complete

() private

_loaded

() private

onComplete

(
  • callback
)

Parameters:

  • callback Function

onLoaded

(
  • callback
)

Parameters:

  • callback Function

play

()

stop

(
  • remove
)

Parameters:

  • remove Boolean

Properties

loop

Boolean

Default: false

sprite

game.Sprite

Video sprite.

videoElem

Video

Video element.