Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute Content-Length to make tracks seekable in most players via the web plugin #246

Merged
merged 1 commit into from Apr 10, 2013

Conversation

xhochy
Copy link
Contributor

@xhochy xhochy commented Apr 10, 2013

Flask only adds a Content-Length header if X-Sendfile is used. Media players like vlc (and Tomahawk which uses vlc as a backend) only enable seeking in a track if the Content-Length header is present.

sampsyo added a commit that referenced this pull request Apr 10, 2013
Compute Content-Length to make tracks seekable in most players via the web plugin
@sampsyo sampsyo merged commit d8d57cb into beetbox:master Apr 10, 2013
sampsyo added a commit that referenced this pull request Apr 10, 2013
@sampsyo
Copy link
Member

sampsyo commented Apr 10, 2013

Thanks for adding this!

Someday, it might also behoove us to add X-Content-Duration. I believe some HTML5 implementations want this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants