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