mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-01 15:06:00 +00:00
remove buffered todo, after research it should already be working as intended
This commit is contained in:
parent
7841fadcb6
commit
29d0b05845
|
@ -1,5 +1,4 @@
|
|||
export function handleBuffered(time: number, buffered: TimeRanges): number {
|
||||
// TODO normalize the buffer sections into one section. they can be stitched together
|
||||
for (let i = 0; i < buffered.length; i += 1) {
|
||||
if (buffered.start(buffered.length - 1 - i) < time) {
|
||||
return buffered.end(buffered.length - 1 - i);
|
||||
|
|
Loading…
Reference in a new issue