Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Sep 22, 2021
1 parent f256728 commit e50c413
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/playback-watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ export default class PlaybackWatcher {
return false;
}

// TODO: It's possible that these seekable checks should be moved out of this function
// and into a function that runs on seekablechange. It's also possible that we only need
// afterSeekableWindow as the buffered check at the bottom is good enough to handle before
// seekable range.
const seekable = this.seekable();
const currentTime = this.tech_.currentTime();
const isAfterSeekableRange = this.afterSeekableWindow_(
Expand Down

0 comments on commit e50c413

Please sign in to comment.