start method

void start(
  1. WebPlayerHtml player,
  2. double speed
)

Implementation

void start(WebPlayerHtml player, double speed) async {
  _isEnabled = true;
  while (_isEnabled) {
    player.seekBy(by: speed * _timelapse);
    await Future.delayed(Duration(milliseconds: _timelapse));
  }
}