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

Firefox will only preload 6 audio files #47

Closed
kunikla opened this issue Oct 6, 2018 · 2 comments
Closed

Firefox will only preload 6 audio files #47

kunikla opened this issue Oct 6, 2018 · 2 comments
Assignees

Comments

@kunikla
Copy link
Collaborator

kunikla commented Oct 6, 2018

When a file is downloaded using PHP functions, Firefox leaves the connections to the server open. There is a limit of 6 connections, so it stops preloading (or any kind of loading) after 6 files. The 7th call to fpassthru() or readfile() never returns, and the browser shows a status of "waiting for mydomain.com".

This does not appear to be a problem with Chrome. Still need to test IE and Safari.

@kunikla
Copy link
Collaborator Author

kunikla commented Oct 7, 2018

Temporary solution is to allow calls to file_markup() and files_for_item() to specify preload="none" (or "metadata" or "auto", the other two valid values).

The Big Picture theme has been updated to specify preload="none". Protected audio files are not downloaded until the user clicks on the controls. The duration of the audio file therefore does not display until the file is downloaded.

A long-term solution is to allow the site administrator to configure the setting for preload. There may be sites with fewer than 6 protected files per Item that this limitation will not affect. This enhancement should be given highest priority.

User Documentation: Requirements has been updated.

@kunikla kunikla self-assigned this Oct 7, 2018
@kunikla
Copy link
Collaborator Author

kunikla commented Oct 19, 2018

A better description of the problem and solution can be found in Issue #48.

@kunikla kunikla closed this as completed Oct 19, 2018
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

No branches or pull requests

1 participant