Phaser API Documentation

  Version: 
getProgress()

Description:

Returns the current progress of the video. Progress is defined as a value between 0 (the start) and 1 (the end).

Progress can only be returned if the video has a duration, otherwise it will always return zero.

Returns:
Description:

The current progress of playback. If the video has no duration, will always return zero.

Type:
  • number
Since: 3.20.0