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

extend

(
  • prop
)
game.Class

Inherited from game.Class: engine/core.js:757

Extend class.

Parameters:

  • prop Object

Returns:

init

(
  • arguments
)

Inherited from game.Class: engine/core.js:811

This method is called, when you create new instance of the class.

Parameters:

  • arguments Array

inject

(
  • prop
)

Inherited from game.Class: engine/core.js:825

Inject class.

Parameters:

  • prop Object

onComplete

(
  • callback
)

Parameters:

  • callback Function

onLoaded

(
  • callback
)

Parameters:

  • callback Function

play

()

staticInit

(
  • arguments
)

Inherited from game.Class: engine/core.js:795

This method is called before init.

Parameters:

  • arguments Array

stop

(
  • remove
)

Parameters:

  • remove Boolean

Properties

loop

Boolean

Default: false

sprite

game.Sprite

Video sprite.

videoElem

Video

Video element.