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

Manage audio loading to eliminate redundant downloads #98

Open
mdemund-scpr opened this issue Aug 19, 2022 · 3 comments
Open

Manage audio loading to eliminate redundant downloads #98

mdemund-scpr opened this issue Aug 19, 2022 · 3 comments

Comments

@mdemund-scpr
Copy link

See this page preview. As you can see, the same file is being loaded over and over but I only require it once. Is there an actual API for this script that I can access?

Thank you!

@mdemund-scpr
Copy link
Author

closing, left the question in Zendesk

@JoeGermuska
Copy link
Member

Actually, as something which is not managed now, this is a totally suitable GitHub issue/feature request.

SoundciteJS isn't under active development, but especially with promises, which weren't a thing when SoundCite was first created, it seems like it wouldn't be that hard to manage this such that audio files aren't loaded redundantly.

We'd welcome a pull request for this.

@JoeGermuska JoeGermuska reopened this Aug 22, 2022
@JoeGermuska JoeGermuska changed the title Is it possible to load one audio file and play different clips from it in different sections of a webpage? Manage audio loading to eliminate redundant downloads Aug 22, 2022
@mdemund-scpr
Copy link
Author

Hi Joe--thanks for your response. I'll see what I can come up with and send you some code!

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

No branches or pull requests

2 participants