timeUpdated method
Called when the playback position of the underlying HTML5 player changes.
Implementation
@override
Future<void> timeUpdated(double seconds) async {
if (end != null) {
if (seconds >= end!.inMilliseconds / 1000) {
_interruptPlay(ClipInterruptReason.end);
}
}
}