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

When sound is registered, length is unknown #16

Open
milovanderlinden opened this issue Jul 17, 2015 · 0 comments
Open

When sound is registered, length is unknown #16

milovanderlinden opened this issue Jul 17, 2015 · 0 comments

Comments

@milovanderlinden
Copy link
Contributor

The soundJS getDuration function will return 0 on a lot of sound files. Only when the sound starts to play, the duration gets set.

I don't exactly know how this can be fixed. Perhaps a quick play followed by a direct stop? Because in my current 2.0 branch, when you press play once, all times get set.

Before play:

screenshot from 2015-07-17 10-40-19

After pressing the play button once:

screenshot from 2015-07-17 10-40-58

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