Trigger an error when playlist request fail with status zero
When CORS headers aren't enabled on a server, XHRs fail with status 0. Handle this case when downloading playlists and abort further processing. Ideally, we would ignore this for variant playlists if we have alternatives but I'm not tackling that yet.
Showing
2 changed files
with
26 additions
and
1 deletions
-
Please register or sign in to post a comment