Refresh recordings when data is stale (#20470)

* Refresh recordings when data is stale

* Fix

* Improve checks

* Increase time to 10 minutes
This commit is contained in:
Nicolas Mowen
2025-10-13 17:18:04 -06:00
committed by GitHub
parent 6a031eb9ee
commit 1a1ec8cf91
3 changed files with 43 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ export class DynamicVideoController {
this.playerController.pause();
}
isPlaying(): boolean {
return !this.playerController.paused && !this.playerController.ended;
}
seekToTimestamp(time: number, play: boolean = false) {
if (time < this.timeRange.after || time > this.timeRange.before) {
this.timeToStart = time;