diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-08-30 19:48:24 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-31 11:37:36 -0500 |
commit | 85cf9438506374a354f34bff68a61f9d7c3db1b3 (patch) | |
tree | 368a34a4210baa34a35306afe4394c48789dacd6 /youtube/static/modules/plyr/plyr.svg | |
parent | 4a45a699ae3bc92224fab1042e1c1377fb6a7c54 (diff) | |
download | yt-local-85cf9438506374a354f34bff68a61f9d7c3db1b3.tar.lz yt-local-85cf9438506374a354f34bff68a61f9d7c3db1b3.tar.xz yt-local-85cf9438506374a354f34bff68a61f9d7c3db1b3.zip |
av-merge: Fix handling of QuotaExceededError
Many things fixed:
- Delete from end of video in addition to from beginning. Firefox
automatically deletes from the beginning already.
- Increment i in the while loop (oops)
- Calling .remove takes time for the sourceBuffer to perform, and
it will be in the updating=true state. Continuing to delete more
would give an error. Waits until the updateend event is fired
before deleting more segments.
- Retry appendBuffer if the quota was exceeded during a seek append
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/static/modules/plyr/plyr.svg')
0 files changed, 0 insertions, 0 deletions