From 7194f56f542368192732e3299c373c048f923040 Mon Sep 17 00:00:00 2001 From: Maarten Grachten Date: Tue, 6 Dec 2022 12:19:30 +0100 Subject: [PATCH] fix incorrect handling of startTime === 0; --- src/Playlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Playlist.js b/src/Playlist.js index 9e18bf7b..7cd3fcb1 100644 --- a/src/Playlist.js +++ b/src/Playlist.js @@ -747,7 +747,7 @@ export default class { const selected = this.getTimeSelection(); const playoutPromises = []; - const start = startTime || this.pausedAt || this.cursor; + const start = (startTime === 0) ? 0 : (startTime || this.pausedAt || this.cursor); let end = endTime; if (!end && selected.end !== selected.start && selected.end > start) {