Module: player/Player

Classes

Player

Members

(inner, constant) DEFAULT_RELATIVE_ZOOM :number

The relative zoom of out-of-sequence transitions.

Type:
  • number
Source:

(inner, constant) DEFAULT_TIMING_FUNCTION :string

The timing function name of out-of-sequence transitions.

Type:
  • string
Default Value:
  • ease
Source:

(inner, constant) DEFAULT_TRANSITION_DURATION_MS :number

The duration of out-of-sequence transitions, in milliseconds.

Type:
  • number
Default Value:
  • 500
Source:

(inner, constant) ROTATE_STEP :number

The rotation step angle for user zoom action (keyboard and mouse wheel), in degrees.

Type:
  • number
Default Value:
  • 5
Source:

(inner, constant) SCALE_FACTOR :number

The zoom step factor for user zoom action (keyboard and mouse wheel)

Type:
  • number
Default Value:
  • 1.05
Source:

Events

frameChange

Signals that the player has moved to a new frame.

Source:
Listeners of This Event:

stateChange

Signals that the player has changed its playing status.

Source: