Skip to content

Commit

Permalink
Merge pull request #240 from mgrachten/main
Browse files Browse the repository at this point in the history
Fix incorrect handling of startTime === 0;
  • Loading branch information
naomiaro authored Dec 7, 2022
2 parents bbc2257 + 7194f56 commit 5d912cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5d912cf

Please sign in to comment.