Skip to content

Conversation

@iamszabo
Copy link

I was unhappy with my previous PR and wanted to do more digging into when an audio file is seekable. Most other players (like JWPlayer we use on GP.com) initially sent a Range=0-1 request to force a response from the server side. It returns either a 206 (Partial content), which means it is seekable or 200 with a possible Accept-Ranges=none which means it is not.

For example, VLC follows a similar logic where it determines seekability based on 206 status code.

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Dec 16, 2022
@trafico-bot trafico-bot bot added ✅ Approved Pull Request has been approved and can be merged and removed 🔍 Ready for Review Pull Request is not reviewed yet labels Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✅ Approved Pull Request has been approved and can be merged size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants